<!DOCTYPE html>
<html>
  <head>
    <title>same上有什么</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="mobile-agent" content="format=html5;url=http://ohsame.com/">
    <meta name="renderer" content="webkit">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <script>
      //根据屏幕尺寸设定rem基数
      function setRemUnit(){
      	var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
      	var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
      	var fontSize = Math.min(w, h)/32;
      	if(fontSize > 16) {
      	  fontSize = 16;
      	} 
      	document.getElementsByTagName('html')[0].setAttribute("style", "font-size:" + fontSize + "px");
      }
      setRemUnit();
      window.addEventListener("resize", setRemUnit);
      
    </script>
  </head>
  <body>
    <div class="responsive-container">
      <div class="tile-container">
        <div class="top-content"></div>
        <div class="main-board">
          <div class="main-board-image"></div>
          <div class="channels">
            <div title="摄影达人" channel-id="1146" channel-type="photo" class="channel"></div>
            <div title="看天" channel-id="1017251" channel-type="photo" class="channel"></div>
            <div title="二次元" channel-id="1014523" channel-type="movie" class="channel"></div>
            <div title="音乐发烧友" channel-id="995" channel-type="music" class="channel"></div>
            <div title="自拍控" channel-id="1091053" channel-type="photo" class="channel"></div>
            <div title="观影狂魔" channel-id="1000867" channel-type="movie" class="channel"></div>
            <div title="有故事的同学" channel-id="1073" channel-type="text" class="channel"></div>
            <div title="不唱歌会死" channel-id="1244040" channel-type="audio" class="channel"></div>
            <div title="脑洞少年" channel-id="1163822" channel-type="text" class="channel"></div>
            <div title="文艺青年" channel-id="810" channel-type="text" class="channel"></div>
          </div>
        </div>
      </div>
      <div class="post-wrapper">
        <div class="post-top-area">
          <div class="post-container">
            <div class="illustration"></div>
            <div class="desc"></div>
          </div>
          <div class="post-photo post">
            <div class="post-inner-wrapper">
              <div class="content"></div>
            </div>
          </div>
          <div class="post-text post">
            <div class="post-inner-wrapper">
              <textarea placeholder="写下你的文字呦" class="content"></textarea>
            </div>
          </div>
          <div class="post-audio post">
            <div class="post-inner-wrapper">
              <div class="card-container"></div>
            </div>
          </div>
          <div class="post-movie post">
            <div class="post-inner-wrapper">
              <div class="movie-cover"></div>
              <div class="movie-title"></div>
              <div class="movie-subtitle"></div>
            </div>
          </div>
          <div class="post-music post">
            <div class="post-inner-wrapper">
              <div class="music-cover"></div>
              <div class="music-title"></div>
              <div class="music-artist"></div>
            </div>
          </div>
        </div>
        <div class="post-bottom-area">
          <div class="add">+</div>
          <div class="send">发布</div>
          <div class="back"></div>
        </div>
      </div>
      <div class="posted">
        <div class="posted-flex-wrapper">
          <div class="posted-top-area">
            <div class="post-interest-label"></div>
          </div>
          <div class="posted-bottom-area table">
            <div class="posted-label">关注以下类似频道找到和你兴趣相投的人</div>
            <ul>
              <li>
                <div class="channel-title"></div>
                <div class="add-button"></div>
              </li>
              <li>
                <div class="channel-title"></div>
                <div class="add-button"></div>
              </li>
              <li>
                <div class="channel-title"></div>
                <div class="add-button"></div>
              </li>
              <li>
                <div class="channel-title"></div>
                <div class="add-button"></div>
              </li>
            </ul>
          </div>
          <div class="posted-button-wrapper">
            <button class="enter-same disable">进入same</button>
          </div>
        </div>
      </div>
    </div><script>!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.same=t():e.same=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(14)},,,,,function(e,t){"use strict";e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function o(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=d[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(s(o.parts[i],t))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(s(o.parts[i],t));d[o.id]={id:o.id,refs:1,parts:a}}}}function r(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o],i=r[0],a=r[1],s=r[2],c=r[3],u={css:a,media:s,sourceMap:c};n[i]?n[i].parts.push(u):t.push(n[i]={id:i,parts:[u]})}return t}function i(){var e=document.createElement("style"),t=m();return e.type="text/css",t.appendChild(e),e}function a(){var e=document.createElement("link"),t=m();return e.rel="stylesheet",t.appendChild(e),e}function s(e,t){var n,o,r;if(t.singleton){var s=g++;n=v||(v=i()),o=c.bind(null,n,s,!1),r=c.bind(null,n,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(),o=l.bind(null,n),r=function(){n.parentNode.removeChild(n),n.href&&URL.revokeObjectURL(n.href)}):(n=i(),o=u.bind(null,n),r=function(){n.parentNode.removeChild(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function c(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=h(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function u(e,t){var n=t.css,o=t.media;t.sourceMap;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function l(e,t){var n=t.css,o=(t.media,t.sourceMap);o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(r),i&&URL.revokeObjectURL(i)}var d={},p=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},f=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=p(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0;e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=f());var n=r(e);return o(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],c=d[s.id];c.refs--,i.push(c)}if(e){var u=r(e);o(u,t)}for(var a=0;a<i.length;a++){var c=i[a];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete d[c.id]}}}};var h=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";function o(e){return Object.keys(e).map(function(t){return t+":"+e[t]}).join(";")}function r(){function e(r){s||(s=r),c=r-s;var i=c/t;t>c?(n&&n(a(c),i),window.requestAnimationFrame(e)):(n&&n(a(t),1),o())}var t=arguments.length<=0||void 0===arguments[0]?400:arguments[0],n=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],r=arguments.length<=3||void 0===arguments[3]?!1:arguments[3],i=function(e,t,n,o,r){return t==r?n+o:o*(-Math.pow(2,-10*t/r)+1)+n};if(r)var a=function(e){var n=i(null,e,1,-1,t);return n.toFixed(8)};else var a=function(e){var n=i(null,e,0,1,t);return n.toFixed(8)};var s=null,c=0;window.requestAnimationFrame(e)}var i=n(8);n(9),n(10);var a=function(e){function t(e){e.preventDefault()}var n={duration:600,color:"rgba(0,0,0,0.3)",click:!1,z_index:1};if(void 0===e)var e={};e=i({},n,e);var a=document.createElement("div");return a.classList.add("BLACKOUT"),a.setAttribute("style",o({height:"100%",width:"100%",position:"fixed","background-color":e.color,top:"0",bottom:"0",left:"0",right:"0",transform:"translate3d(0,0,0)","-webkit-transform":"translate3d(0,0,0)","-moz-transform":"translate3d(0,0,0)",opacity:"0",display:"block","z-index":e.z_index})),e.insertBefore?a.insertBefore(e.insertBefore.jquery?e.insertBefore[0]:e.insertBefore):e.appendTo?(e.appendTo.jquery?e.appendTo[0]:e.appendTo).appendChild(a):document.body.appendChild(a),document.body.style.overflow="hidden",document.body.addEventListener("touchmove",t),r(e.duration,function(e){a.style.opacity=e},function(){e.click&&a.addEventListener("click",a.clear)}),a.clear=function(){a.removeEventListener("click",a.clear);var n=new CustomEvent("clearStart");a.dispatchEvent(n),r(e.duration,function(e){a.style.opacity=e},function(){var e=new CustomEvent("clearEnd");a.dispatchEvent(e),a.parentNode.removeChild(a)},!0),document.body.style.overflow="auto",document.body.removeEventListener("touchmove",t)},a};e.exports=a},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},i=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t=n.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!r)return!1;var i;for(i in e);return"undefined"==typeof i||n.call(e,i)};e.exports=function a(){var e,t,n,o,s,c,u=arguments[0],l=1,d=arguments.length,p=!1;for("boolean"==typeof u?(p=u,u=arguments[1]||{},l=2):("object"!=typeof u&&"function"!=typeof u||null==u)&&(u={});d>l;++l)if(e=arguments[l],null!=e)for(t in e)n=u[t],o=e[t],u!==o&&(p&&o&&(i(o)||(s=r(o)))?(s?(s=!1,c=n&&r(n)?n:[]):c=n&&i(n)?n:{},u[t]=a(p,c,o)):"undefined"!=typeof o&&(u[t]=o));return u}},function(e,t){"use strict";try{new o("test")}catch(n){var o=function(e,t){var n;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},n=document.createEvent("CustomEvent"),n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n};o.prototype=window.Event.prototype,window.CustomEvent=o}},function(e,t,n){var o;!function(r){!function(){if(!r.requestAnimationFrame){r.webkitRequestAnimationFrame&&(r.requestAnimationFrame=r.webkitRequestAnimationFrame,r.cancelAnimationFrame=r.webkitCancelAnimationFrame||r.webkitCancelRequestAnimationFrame);var e=0;r.requestAnimationFrame=function(t){var n=(new Date).getTime(),o=Math.max(0,16-(n-e)),i=r.setTimeout(function(){t(n+o)},o);return e=n+o,i},r.cancelAnimationFrame=function(e){clearTimeout(e)}}}(),o=function(){return r.requestAnimationFrame}.call(t,n,t,e),!(void 0!==o&&(e.exports=o))}(window)},function(e,t,n){"use strict";function o(e,t,n,o){var r=0,i=16;t.style.opacity="in"===e?0:1;var a=setInterval(function(){function s(e,t,n,o,r){return-o*(t/=r)*(t-2)+n}return r+=i,r>=n?(clearInterval(a),t.style.opacity="in"===e?1:0,void(o&&o())):void(t.style.opacity="in"===e?s(null,r,0,1,n):s(null,r,1,-1,n))},i)}var r=n(7),i=n(8);n(12);var a={alert:function(){function e(){a.clear(),o("out",n,200,function(){n.parentNode.removeChild(n)})}var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];t=i({},{content_text:"",ok_text:"确定",ok:function(){},z_index:0},t);var n=document.createElement("div");n.id="DIALOG_BOX",n.innerHTML="\n			<div class='DIALOG_BOX_content-wrapper'>\n				<div class='DIALOG_BOX_content-text'>"+t.content_text+"</div>\n			</div>\n			<div class='DIALOG_BOX_button-wrapper'>\n				<div class='DIALOG_BOX_ok-button'>"+t.ok_text+"</div>\n			</div>\n		";var a=new r({z_index:t.z_index});return n.style.zIndex=t.z_index,n.style.opacity=0,document.body.appendChild(n),o("in",n,200),""===t.ok_text,n.querySelector(".DIALOG_BOX_ok-button").addEventListener("click",function(){t.ok(),e()}),n},confirm:function(){function e(){a.clear(),o("out",n,200,function(){n.parentNode.removeChild(n)})}var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];t=i({},{z_index:0,content_text:"",accept_text:"确定",cancel_text:"取消",accept:function(){},cancel:function(){}},t);var n=document.createElement("div");n.id="DIALOG_BOX",n.innerHTML="\n			<div class='DIALOG_BOX_content-wrapper'>\n				<div class='DIALOG_BOX_content-text'>"+t.content_text+"</div>\n			</div>\n			<div class='DIALOG_BOX_button-wrapper'>\n				<div class='DIALOG_BOX_cancel-button'>"+t.cancel_text+"</div>\n				<div class='DIALOG_BOX_accept-button'>"+t.accept_text+"</div>\n			</div>\n		";var a=new r({z_index:t.z_index});return n.style.zIndex=t.z_index,n.style.opacity=0,document.body.appendChild(n),o("in",n,200),n.querySelector(".DIALOG_BOX_accept-button").addEventListener("click",function(){t.accept(),e()}),n.querySelector(".DIALOG_BOX_cancel-button").addEventListener("click",function(){t.cancel(),e()}),n},prompt:function(){function e(){a.clear(),o("out",n,200,function(){n.parentNode.removeChild(n)})}var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];t=i({},{z_index:0,content_text:"",input_value:"",input_type:"text",input_placeholder:"",accept_text:"确定",cancel_text:"取消",accept:function(){},cancel:function(){}},t);var n=document.createElement("div");n.id="DIALOG_BOX",n.innerHTML="\n			<div class='DIALOG_BOX_content-wrapper'>\n				<div class='DIALOG_BOX_content-text'>"+t.content_text+"</div>\n			</div>\n			<div class='DIALOG_BOX_input-wrapper'>\n				<input class='DIALOG_BOX_input' type="+t.input_type+" autocomplete=off value='"+t.input_value+"' placeholder='"+t.input_placeholder+"'></div>\n				<div class='DIALOG_BOX_button-wrapper'><div class='DIALOG_BOX_cancel-button'>"+t.cancel_text+"</div>\n				<div class='DIALOG_BOX_accept-button'>"+t.accept_text+"</div>\n			</div>\n		";var a=new r({z_index:t.z_index});n.style.zIndex=t.z_index,n.style.opacity=0,document.body.appendChild(n),o("in",n,200);var s=n.querySelector("input");return n.querySelector(".DIALOG_BOX_accept-button").addEventListener("click",function(){t.accept(s.value),e()}),n.querySelector(".DIALOG_BOX_cancel-button").addEventListener("click",function(){t.cancel(s.value),e()}),n}};e.exports=a},function(e,t,n){var o=n(13);"string"==typeof o&&(o=[[e.id,o,""]]);n(6)(o,{});o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,'#DIALOG_BOX{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:15pc;height:180px;background-color:#fff;position:fixed;top:50%;left:50%;margin-top:-90px;margin-left:-90pt;border-radius:10px;overflow:hidden;display:-webkit-box!important;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}#DIALOG_BOX .DIALOG_BOX_content-wrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#DIALOG_BOX .DIALOG_BOX_button-wrapper{height:44px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;background-color:#f2f2f2}#DIALOG_BOX .DIALOG_BOX_content-text{font-size:1pc;line-height:21px;width:100%;box-sizing:border-box;padding:0 15px;text-align:center;color:#0093ff}#DIALOG_BOX .DIALOG_BOX_ok-button{text-align:center;height:100%;width:100%;line-height:44px;font-size:1pc;color:#0093ff}#DIALOG_BOX .DIALOG_BOX_ok-button:active{background-color:#f2f2f2}#DIALOG_BOX .DIALOG_BOX_accept-button,#DIALOG_BOX .DIALOG_BOX_cancel-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;line-height:44px;font-size:1pc;text-align:center;color:#0093ff}#DIALOG_BOX .DIALOG_BOX_accept-button:active,#DIALOG_BOX .DIALOG_BOX_cancel-button:active{background-color:#eaeaea}#DIALOG_BOX .DIALOG_BOX_cancel-button{color:gray;position:relative}#DIALOG_BOX .DIALOG_BOX_cancel-button:after{position:absolute;content:"";height:18px;width:1px;right:-1px;top:0;bottom:0;margin:auto;background-color:#ccc}#DIALOG_BOX .DIALOG_BOX_input-wrapper{margin:15px;margin-top:0;position:relative}#DIALOG_BOX .DIALOG_BOX_input{box-shadow:inset 0 0 1px gray;width:100%;height:36px;border-radius:6px;box-sizing:border-box;padding:0 10px;font-size:15px;border:none;outline:0}',""])},function(e,t,n){"use strict";function o(e){window.WebViewJavascriptBridge?e(WebViewJavascriptBridge):document.addEventListener("WebViewJavascriptBridgeReady",function(){e(WebViewJavascriptBridge)},!1)}var r=n(15);n(9);var i={};i.is_same=n(16),o(function(e){e.init(function(e,t){var n={"Javascript Responds":"Wee!"};t(n)})}),i.bridge=function(){var e=arguments;return e&&/^openUrl$/i.test(e[0])?void i.open(e[1]):e&&/^openUrlAndFinish$/i.test(e[0])?void i.openAndFinish(e[1]):void o(function(t){t.callHandler.apply(null,e)})};var a={};i.on=function(e,t){var n=!1;a[e]||(a[e]=[],n=!0),a[e].push(t),n&&o(function(t){t.registerHandler(e,function(){var t=a[e];if(t)for(var n in t)t[n].apply(null,arguments)})})},i.ready=function(e){if(window.sameRequestHeaders)return void e();var t=setInterval(function(){void 0!==window.sameRequestHeaders&&(clearInterval(t),e())},10)},i.alert=n(17),i.setNaviTitle=function(e){i.bridge("setNaviTitle",e)},i.setActionButton=function(e){var t=e.title||"",n=e.id||1,o=e.func||function(){};i.bridge("setActionButton",{title:t,id:n}),document.addEventListener("same-action-button",function(e){e.detail===n&&o()},!1)},i.removeActionButton=function(e){i.bridge("removeActionButton",e)},i.openUrl=function(e){function t(e){var t=window.location.protocol,n=window.location.host,o=window.location.pathname,r=o.split("/");r.pop();var i=r.join("/");return i=t+"//"+n+i+"/"+e}i.is_same?/^[\w\-\.\d]+\:/.test(e)?(/^http/i.test(e)&&(e="samewebview-"+e),window.location.href=e):window.location.href="samewebview-"+t(e):window.location.href=e||"https://ohsame.com"},i.formatUrl=function(e){if(/^[\w\-\.\d]+\:/.test(e))return e;var t=window.location.protocol,n=window.location.host,o=window.location.pathname,r=o.split("/");r.pop();var i=r.join("/");return i="samewebview-"+t+"//"+n+i+"/"+e},i.open=function(e,t){var n=i.formatUrl(e);if(n)if(/^(samewebview-)?http/i.test(n))i.is_same?o(t?function(e){e.callHandler("openUrlAndFinish",n)}:function(e){/Android/i.test(navigator.userAgent)?e.callHandler("openUrl",n):/^http/i.test(n)?e.callHandler("openUrl",n):window.sameVersion>=307?e.callHandler("openUrl",n):window.location.href=n}):(/^samewebview-/i.test(n)&&(n=n.substr("samewebview-".length)),window.open(n));else if(i.is_same)o(t?function(e){e.callHandler("openUrlAndFinish",n)}:function(e){e.callHandler("openUrl",n)});else{var r;if(r=n.match(/\/channel\/(\d+)/i),r&&r[1])return void window.open("https://ohsame.com/share/channel/"+r[1]);if(r=n.match(/\/sense\/(\d+)/i),r&&r[1])return void window.open("https://ohsame.com/share/sense/"+r[1]);alert("跳转url："+n)}},i.openAndFinish=function(e){i.open(e,!0)},i.payorder=function(e,t){i.bridge("payorder",{order_id:"1",method:t})},i.shareWithApp=function(e){var t=e.type,n=e.link||"https://ohsame.com",o=e.desc||"",r=e.thumb||"https://ohsame.com/src/images/website/favicon-192.png";i.bridge("shareWithApp",{type:t,link:n,desc:o,thumb:r})},i.requestSong=function(e){var t=e.song;t.same_song_id&&t.title&&(t.id=t.same_song_id,delete t.song.same_song_id,t.name=t.title,delete t.title),i.bridge("requestSong",{song:t,user:e.user,channel_id:e.channel_id})},i.setTheme=function(e){i.bridge("setTheme",e)},i.request=function(e){if("json"==e.dataType&&(e.headers||(e.headers={}),e.headers["Content-Type"]="application/json"),i.is_same){"json"==e.dataType&&"undefined"!=typeof e.data&&(e.data=JSON.stringify(e.data),e.method||(e.method="POST"));var t={url:e.url};e.data&&(t.params=e.data),e.headers&&(t.headers=e.headers),e.method&&(t.method=e.method),i.bridge("request",t,function(t){if(!t||!t.text)return void(e.error?e.error():i.alert({desc:t&&t.error||"未知错误"}));var n=JSON.parse(t.text);e.success(n)})}else r(e)},i.api=function(e){var t={url:e.url,success:function(t){if(!t||t.code||t.error||!t.data){var n=t&&t.detail||t&&t.error&&t.error.message||"未知错误";return i.alert({desc:n}),void(e.error&&e.error())}t.detail&&i.alert({desc:t.detail}),e.success(t.data)},error:function(){i.alert({desc:"网络错误，请重试"}),e.error&&e.error()}};e.data&&(t.data=e.data),e.headers&&(t.headers=e.headers),e.method&&(t.method=e.method),e.dataType&&(t.dataType=e.dataType),i.request(t)},i.api3=function(e){!e.dataType&&e.data&&(e.dataType="json"),i.api(e)},i.configSplashCloseButton=function(e){i.ready(function(){window.sameHasCloseButton&&document.addEventListener("same-splash-close-button-clicked",function(){log("关闭")})})},i.dialogBox=n(11),i.shareSheet=n(19),i.blackout=n(7),i.actionSheet=n(22),i.tapEvents=n(25),window.clickOrTap||i.tapEvents(),e.exports=i},function(e,t){"use strict";function n(e,t,n){return!0}function o(e,t,o,r){return e.global?n(t||x,o,r):void 0}function r(e){e.global&&0===L.active++&&o(e,null,"ajaxStart")}function i(e){e.global&&!--L.active&&o(e,null,"ajaxStop")}function a(e,t){var n=t.context;return t.beforeSend.call(n,e,t)===!1||o(t,n,"ajaxBeforeSend",[e,t])===!1?!1:void o(t,n,"ajaxSend",[e,t])}function s(e,t,n){var r=n.context,i="success";n.success.call(r,e,i,t),o(n,r,"ajaxSuccess",[t,n,e]),u(i,t,n)}function c(e,t,n,r){var i=r.context;r.error.call(i,n,t,e),o(r,i,"ajaxError",[n,r,e]),u(t,n,r)}function u(e,t,n){var r=n.context;n.complete.call(r,t,e),o(n,r,"ajaxComplete",[t,n]),i(n)}function l(){}function d(e){return e&&(e==_?"html":e==O?"json":w.test(e)?"script":A.test(e)&&"xml")||"text"}function p(e,t){return(e+"&"+t).replace(/[&?]{1,2}/,"?")}function f(e){"object"==typeof e.data&&(e.data=v(e.data)),!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=p(e.url,e.data))}function m(e,t,n,o){var r=Array.isArray(t);for(var i in t){var a=t[i];o&&(i=n?o:o+"["+(r?"":i)+"]"),!o&&r?e.add(a.name,a.value):(n?"array"===Array.isArray(a):"object"==typeof a)?m(e,a,n,i):e.add(i,a)}}function v(e,t){var n=[];return n.add=function(e,t){this.push(B(e)+"="+B(t))},m(n,e,t),n.join("&").replace("%20","+")}function g(e){var t=Array.prototype.slice;return t.call(arguments,1).forEach(function(t){for(h in t)void 0!==t[h]&&(e[h]=t[h])}),e}var h,b,y=0,x=window.document,w=/^(?:text|application)\/javascript/i,A=/^(?:text|application)\/xml/i,O="application/json",_="text/html",k=/^\s*$/,L=e.exports=function(e){var t=g({},e||{});for(h in L.settings)void 0===t[h]&&(t[h]=L.settings[h]);r(t),t.crossDomain||(t.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(t.url)&&RegExp.$2!=window.location.host);var n=t.dataType,o=/=\?/.test(t.url);if("jsonp"==n||o)return o||(t.url=p(t.url,"callback=?")),L.JSONP(t);t.url||(t.url=window.location.toString()),f(t);var i,u=t.accepts[n],m={},v=/^([\w-]+:)\/\//.test(t.url)?RegExp.$1:window.location.protocol,y=L.settings.xhr();t.crossDomain||(m["X-Requested-With"]="XMLHttpRequest"),u&&(m.Accept=u,u.indexOf(",")>-1&&(u=u.split(",",2)[0]),y.overrideMimeType&&y.overrideMimeType(u)),(t.contentType||t.data&&"GET"!=t.type.toUpperCase())&&(m["Content-Type"]=t.contentType||"application/x-www-form-urlencoded"),t.headers=g(m,t.headers||{}),y.onreadystatechange=function(){if(4==y.readyState){clearTimeout(i);var e,o=!1;if(y.status>=200&&y.status<300||304==y.status||0==y.status&&"file:"==v){n=n||d(y.getResponseHeader("content-type")),e=y.responseText;try{"script"==n?(1,eval)(e):"xml"==n?e=y.responseXML:"json"==n&&(e=k.test(e)?null:JSON.parse(e))}catch(r){o=r}o?c(o,"parsererror",y,t):s(e,y,t)}else c(null,"error",y,t)}};var x="async"in t?t.async:!0;y.open(t.type,t.url,x);for(b in t.headers)y.setRequestHeader(b,t.headers[b]);return a(y,t)===!1?(y.abort(),!1):(t.timeout>0&&(i=setTimeout(function(){y.onreadystatechange=l,y.abort(),c(null,"timeout",y,t)},t.timeout)),y.send(t.data?t.data:null),y)};L.active=0,L.JSONP=function(e){if(!("type"in e))return L(e);var t,n="jsonp"+ ++y,o=x.createElement("script"),r=function(){n in window&&(window[n]=l),u("abort",i,e)},i={abort:r},a=x.getElementsByTagName("head")[0]||x.documentElement;return e.error&&(o.onerror=function(){i.abort(),e.error()}),window[n]=function(o){clearTimeout(t),delete window[n],s(o,i,e)},f(e),o.src=e.url.replace(/=\?/,"="+n),a.insertBefore(o,a.firstChild),e.timeout>0&&(t=setTimeout(function(){i.abort(),u("timeout",i,e)},e.timeout)),i},L.settings={type:"GET",beforeSend:l,success:l,error:l,complete:l,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript",json:O,xml:"application/xml, text/xml",html:_,text:"text/plain"},crossDomain:!1,timeout:0},L.get=function(e,t){return L({url:e,success:t})},L.post=function(e,t,n,o){return"function"==typeof t&&(o=o||n,n=t,t=null),L({type:"POST",url:e,data:t,success:n,dataType:o})},L.getJSON=function(e,t){return L({url:e,success:t,dataType:"json"})};var B=encodeURIComponent},function(e,t){"use strict";e.exports=/SameApp/i.test(navigator.userAgent)},function(e,t,n){"use strict";var o=n(16),r=n(18),i=n(8),a=n(11);e.exports=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];e=i({},{title:"",desc:"",id:1,options:[{}]},e);for(var t in e.options)e.options[t]=i({},{title:0==t?"确定":"",id:(new Date).getTime()+t,action:function(){}},e.options[t]);var n=/iPhone|iPad|iPod/i.test(navigator.userAgent)&&window.sameVersion>=313||/Android/i.test(navigator.userAgent)&&window.sameVersion>=301;if(o&&n){r("showAlertView",e);var s=function c(t){var n=!0,o=!1,r=void 0;try{for(var i,a=e.options[0][Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if(s.id===t.detail){s.action();break}}}catch(u){o=!0,r=u}finally{try{!n&&a["return"]&&a["return"]()}finally{if(o)throw r}}document.removeEventListener("same-action-button",c)};document.addEventListener("same-action-button",s)}else a.alert({content_text:""===e.title?e.desc:e.title+"<br>"+e.desc,ok_text:e.options[0].title,ok:e.options[0].action,z_index:9999})}},function(e,t){"use strict";function n(e){window.WebViewJavascriptBridge?e(WebViewJavascriptBridge):document.addEventListener("WebViewJavascriptBridgeReady",function(){e(WebViewJavascriptBridge)},!1)}n(function(e){e.init(function(e,t){var n={"Javascript Responds":"Wee!"};t(n)})}),e.exports=function(){var e=arguments;return e&&/^openUrl$/i.test(e[0])?void same.open(e[1]):e&&/^openUrlAndFinish$/i.test(e[0])?void same.openAndFinish(e[1]):void n(function(t){t.callHandler.apply(null,e)})}},function(e,t,n){"use strict";function o(e){var t=n(14),o={z_index:0,thumb:"http://s.same.com/X__favicon-192.png",link:"https://ohsame.com",desc:"",datu:"",exit:function(){}};if(void 0===e)var e={};e=r({},o,e);var i=[];e.noWeibo||i.push({title:"微博",action:function(){return t.bridge("shareWithApp",{type:"weibo",thumb:e.thumb,link:e.link,desc:e.desc,datu:e.datu})}}),e.noWeixinSession||i.push({title:"微信好友",action:function(){return t.bridge("shareWithApp",{type:"wxsession",thumb:e.thumb,link:e.link,desc:e.desc,datu:e.datu})}}),e.noWeixinTimeline||i.push({title:"微信朋友圈",action:function(){return t.bridge("shareWithApp",{type:"wxtimeline",thumb:e.thumb,link:e.link,desc:e.desc,datu:e.datu})}}),e.noCatalog||i.push({title:"联系人",action:function(){return t.bridge("shareWithApp",{type:"catalog",thumb:e.thumb,link:e.link,desc:e.desc,datu:e.datu})}}),t.actionSheet({list:i,z_index:e.z_index,cancel:e.exit,appendTo:e.appendTo,callback:e.callback})}n(20);var r=n(8);e.exports=o},function(e,t,n){var o=n(21);"string"==typeof o&&(o=[[e.id,o,""]]);n(6)(o,{});o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,"#same-share-dialog{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:32rem;background-color:#fff;position:fixed;bottom:0;overflow:hidden}#same-share-dialog .list-elem{height:50px;line-height:50px;text-align:center;position:relative;background-color:#fff;-webkit-transition:.3s cubic-bezier(0.19,1,0.22,1);transition:.3s cubic-bezier(0.19,1,0.22,1);color:#0093ff;font-size:1pc;font-weight:300}#same-share-dialog .list-elem:active{background-color:#f2f2f2}#same-share-dialog .list-elem:before{position:absolute;content:'';height:1px;right:0;top:0;left:0;background-image:url('');background-repeat:repeat-x;background-position:top;background-size:1px}#same-share-dialog .list-elem.cancel{color:gray}@media only screen and (-webkit-min-device-pixel-ratio:3),only screen and (-webkit-min-device-pixel-ratio:3.125),only screen and (min-resolution:300dpi){#same-share-dialog .list-elem:before{background-image:url('')}}",""])},function(e,t,n){"use strict";function o(e){var t=n(7),o={z_index:0,cancel:function(){},appendTo:document.body,callback:function(){},list:[]};if(void 0===e)var e={};e=r({},o,e),e.appendTo.jquery&&(e.appendTo=e.appendTo[0]),"string"==typeof e.appendTo?e.appendTo=document.querySelector(e.appendTo):e.appendTo.jquery&&(e.appendTo=e.appendTo[0]);var i=e.list.slice();i.push({title:"取消",className:"cancel",action:e.cancel});var a=i.map(function(e,t){var n=document.createElement("div");return n.innerHTML=""+e.title,n.setAttribute("class","list-item "+(e.className||"")),n}),s=document.createElement("div");s.classList.add("component-action-sheet"),a.forEach(function(e,t){s.appendChild(e)});var c=new t({z_index:e.z_index,click:!0,appendTo:e.appendTo});s.style.zIndex=e.z_index,s.style.transform=s.style.WebkitTransform="translate3d(0,100%,0)",e.appendTo.appendChild(s),s.offsetHeight,s.style.pointerEvents="auto",s.style.transition=s.style.WebkitTransition="600ms cubic-bezier(0.19, 1, 0.22, 1)",s.style.transform=s.style.WebkitTransform="translate3d(0,0,0)";var u=function(){return c.clear()},l=function p(){s.style.pointerEvents="none",s.style.transform=s.style.webkitTransform="translate3d(0,100%,0)",c.removeEventListener("clearStart",p)},d=function f(){e.appendTo.removeChild(s),e.cancel(),c.removeEventListener("clearEnd",f)};c.addEventListener("clearStart",l),c.addEventListener("clearEnd",d),a.forEach(function(t,n){t.addEventListener("click",function(){u(),i[n].action(),n!=a.length-1&&e.callback()})})}n(23);var r=n(8);e.exports=o},function(e,t,n){var o=n(24);"string"==typeof o&&(o=[[e.id,o,""]]);n(6)(o,{});o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(5)(),t.push([e.id,".component-action-sheet{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%;background-color:#fff;position:fixed;bottom:0;left:0}.component-action-sheet .list-item{height:50px;line-height:50px;text-align:center;position:relative;background-color:#fff;-webkit-transition:.3s cubic-bezier(0.19,1,0.22,1);transition:.3s cubic-bezier(0.19,1,0.22,1);color:#0093ff;font-size:1pc;font-weight:300}.component-action-sheet .list-item:active{background-color:#f2f2f2}.component-action-sheet .list-item:before{position:absolute;content:'';height:1px;right:0;top:0;left:0;background-image:url('');background-repeat:repeat-x;background-position:top;background-size:1px}.component-action-sheet .list-item.cancel{color:gray}@media only screen and (-webkit-min-device-pixel-ratio:3),only screen and (-webkit-min-device-pixel-ratio:3.125),only screen and (min-resolution:300dpi){.component-action-sheet .list-item:before{background-image:url('')}}",""])},function(e,t,n){"use strict";n(9),e.exports=function(){var e,t,n,o,r,i,a,s=function(s){if(t=s.changedTouches[0].clientX,n=s.changedTouches[0].clientY,o=s.changedTouches[0].target,window.removeEventListener("touchend",e),o===a&&Math.abs(n-i)<5&&Math.abs(t-r)<5){var c=new CustomEvent("tap",e);s.target.dispatchEvent(c)}};window.addEventListener("touchstart",function(t){e=t,a=t.changedTouches[0].target,r=t.changedTouches[0].clientX,i=t.changedTouches[0].clientY,window.addEventListener("touchend",s)}),window.addEventListener("touchcancel",function(t){window.removeEventListener("touchend",e)}),window.clickOrTap="ontouchend"in window?"tap":"click"}}])});</script><script>!function(A){function e(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return A[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var t={};return e.m=A,e.c=t,e.p="/src/js/splashes/",e(0)}({0:function(A,e,t){"use strict";function i(){var A=Math.max(document.documentElement.clientWidth,window.innerWidth||0)/32;g=(document.querySelector(".main-board").offsetTop+2.6)/A,g/=4.8}function o(A){switch(A){case"摄影达人":a(I,{duration:0,transformOriginX:"6.4%",transformOriginY:5.6+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"看天":a(I,{duration:0,transformOriginX:"50%",transformOriginY:5.6+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"二次元":a(I,{duration:0,transformOriginX:"93.6%",transformOriginY:5.6+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"音乐发烧友":a(I,{duration:0,transformOriginX:"27%",transformOriginY:18+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"自拍控":a(I,{duration:0,transformOriginX:"93.6%",transformOriginY:18+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"观影狂魔":a(I,{duration:0,transformOriginX:"6.4%",transformOriginY:30+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"有故事的同学":a(I,{duration:0,transformOriginX:"72.4%",transformOriginY:30+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"不唱歌会死":a(I,{duration:0,transformOriginX:"6.4%",transformOriginY:43+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"脑洞少年":a(I,{duration:0,transformOriginX:"52%",transformOriginY:43+g+"rem"},{duration:0}),a(I,{scale:4.8});break;case"文艺青年":a(I,{duration:0,transformOriginX:"93.6%",transformOriginY:43+g+"rem"},{duration:0}),a(I,{scale:4.8})}}function n(){document.querySelector(".add").style.display="none",document.querySelector(".send").style.display="block"}function r(A){var e=w.querySelector(".post-"+A);return e.style.display="block",e}function c(A){var e=document.querySelectorAll(".posted-bottom-area li");M[A].forEach(function(A,t){e[t].querySelector(".channel-title").innerHTML=A.title;var i=e[t].querySelector(".add-button");i.addEventListener(clickOrTap,function(){same.api({url:"/channel/"+A.channel_id+"/book",method:"POST",success:function(){i.classList.add("added"),i.innerHTML="已关注",document.querySelector(".enter-same").classList.remove("disable"),H=!0}})})})}t(42);var a=t(44),s=t(45);a.defaults.duration=300;var g,u,l,E,w=document.querySelector(".post-top-area"),d=document.querySelector(".post-wrapper"),B=w.querySelector(".post-container"),I=document.querySelector(".main-board"),h=document.querySelector(".post-bottom-area"),x=document.querySelector(".main-board-image"),p=document.querySelector("textarea");i(),window.addEventListener("resize",i),Array.prototype.forEach.call(document.querySelectorAll(".channels"),function(A){A.addEventListener(clickOrTap,function(A){E=A.target.getAttribute("title"),B.setAttribute("title",E),u=A.target.getAttribute("channel-type"),l=A.target.getAttribute("channel-id"),o(E),D.on(E),O=null})}),a(h,{duration:0,translateY:"100%"},{duration:0});var C={on:function(){a(h,{translateY:"0%"}),a(x,{opacity:0})},off:function(){a(h,{translateY:"100%"}),a(x,{opacity:1})}};document.querySelector(".post-bottom-area .back").addEventListener(clickOrTap,function(){a(I,{scale:1}),D.off(),O=null});var D={on:function(A){d.style.zIndex=0,B.style.display="block",C.on(),a(w,{opacity:1,scale:.5,translateY:"-160%",translateX:10*Math.random()-20+"%",rotateZ:200*Math.random()-100+"deg"},{duration:0}),a(w,{rotateZ:0,scale:1,translateX:0,translateY:0},{duration:600,easing:"easeOutExpo"})},off:function(){C.off(),p.blur(),a(w,{translateY:"-160%",translateX:10*Math.random()-20+"%",rotateZ:200*Math.random()-100+"deg"},{complete:function(){d.style.zIndex=-1,B.style.display="none",w.querySelector(".post-audio .card-container").innerHTML="",Array.prototype.forEach.call(w.querySelectorAll(".post"),function(A){A.style.display="none"}),h.querySelector(".add").style.display="block",h.querySelector(".send").style.display="none",w.querySelector(".post-container[title="+E+"]").style.opacity=1}})}};window.loggerName="注册发帖引导";var O=null,Q=null,f=(new Date).getTime();document.querySelector(".send").addEventListener(clickOrTap,function(){switch(p.blur(),u){case"photo":if(!O)return void same.alert({desc:"请选择图片",title:"提示"});break;case"music":if(!O)return void same.alert({desc:"请选择音乐",title:"提示"});break;case"movie":if(!O)return void same.alert({desc:"请选择电影",title:"提示"});break;case"audio":if(!O)return void same.alert({desc:"请录制语音",title:"提示"});break;case"text":if(O={txt:p.value},!O.txt.trim().length)return void same.alert({desc:"请输入文字",title:"提示"});break;default:return void alert("客官你忘东西了")}var A=new same.blackout,e=function(e){"photo"==u?O.src=e.key:"audio"==u&&(O.audio_source_url=e.url),O.channel_id=l,same.api({url:"/sense/create?r="+f,data:O,success:function(A){same.bridge("sendNotification",{name:"profile_updated",data:{user_id:window.sameUserId}}),document.querySelector(".posted").style.display="block",document.querySelector(".posted-top-area").setAttribute("title",E),a(document.querySelector(".posted"),{translateX:"100%"},{duration:0}),a(document.querySelector(".posted"),{translateX:"0%"}),log("发帖",E)},error:function(){A&&(A.clear(),A=null)}}),c(E)};Q?same.api({url:"http://upload.ohsame.com/v2/",data:Q,success:function(A){e(A)},error:function(){A&&(A.clear(),A=null)}}):e({})}),p.addEventListener("click",function(A){A.stopPropagation()}),p.addEventListener("tap",function(A){A.stopPropagation()}),document.querySelector(".post-text.post").addEventListener(clickOrTap,function(A){p.blur();var e=function(A){A.stopPropagation(),A.preventDefault()};p.addEventListener("click",e),setTimeout(function(){p.removeEventListener("click",e)},600)}),document.querySelector(".add").addEventListener(clickOrTap,function(){switch(u){case"photo":same.bridge("requestMedia",{type:"photo",photoOptions:2},function(A){if(A){f=(new Date).getTime(),Q={photo:{mime_type:"image/jpeg",path:A.path,file_name:A.key}},O={};var e=r(u);e.querySelector(".content").style.backgroundImage="url("+A.url+")",n()}});break;case"music":same.bridge("requestMedia",{type:"music"},function(A){if(A){f=(new Date).getTime(),O={song_id:A.id},Q=null;var e=r(u);e.querySelector(".music-cover").style.backgroundImage="url("+A.album_art_url+"?imageView2/2/w/640)",e.querySelector(".music-artist").innerHTML=A.artist,e.querySelector(".music-title").innerHTML=A.name,n()}});break;case"movie":same.bridge("requestMedia",{type:"movie"},function(A){if(A){f=(new Date).getTime(),O={media_id:A.id},Q=null;var e=r(u);e.querySelector(".movie-cover").style.backgroundImage="url("+A.img+"?imageView2/2/w/640)",e.querySelector(".movie-title").innerHTML=A.title,e.querySelector(".movie-subtitle").innerHTML=A.sub_title,n()}});break;case"audio":same.bridge("requestMedia",{type:"audio"},function(A){if(A){f=(new Date).getTime(),Q={audio:{mime_type:"audio/basic",path:A.path,file_name:A.key}},O={waveform:JSON.stringify({samples:A.waveform.replace(/[\[\]]/g,"")}),meta:JSON.stringify({sample_rate:A.sample_rate,duration:A.duration,record_dt:(new Date).getTime()/1e3})};var e=r(u);s(e.querySelector(".card-container"),{waveform:A.waveform.replace(/[\[\]]/g,"").split(","),src:A.url,duration:A.duration}),n()}});break;case"text":r(u);a(B,{opacity:0}),w.querySelector("textarea").focus(),n();break;default:return}});var H=!1;document.querySelector(".enter-same").addEventListener(clickOrTap,function(){return H?(setTimeout(function(){same.bridge("finish")},100),void log("进入")):void same.alert({desc:"请至少关注一个频道哦",title:""})});var M={"摄影达人":[{title:"iPhone摄影",channel_id:"1002974"},{title:"每天为生活拍一张照片",channel_id:"1021852"},{title:"旅行的意义",channel_id:"56"},{title:"在街头摄影",channel_id:"1179"}],"看天":[{title:"想看海",channel_id:"1015591"},{title:"想你的时候会拍云",channel_id:"1022035"},{title:"路灯收集器",channel_id:"1017783"},{title:"晒天气",channel_id:"1145"}],"二次元":[{title:"哔哩哔哩 ( ゜- ゜)つロ",channel_id:"1011340"},{title:"某漫画的最佳一幕",channel_id:"1137484"},{title:"二维分子振动",channel_id:"1000964"},{title:"二次元脱团",channel_id:"1025413"}],"音乐发烧友":[{title:"我唱得不够动人你别皱眉",channel_id:"1000024"},{title:"我爱的歌未曾热播",channel_id:"1008983"},{title:"听点民谣和摇滚",channel_id:"1001396"},{title:"那些对你特别的歌",channel_id:"1111244"}],"自拍控":[{title:"我这么美我不能死",channel_id:"1015326"},{title:"身边的平民帅哥集",channel_id:"1031310"},{title:"身边的平民美女集",channel_id:"1042136"},{title:"黑白自拍控",channel_id:"1020044"}],"观影狂魔":[{title:"愿意看十遍以上的片儿",channel_id:"1019244"},{title:"男主角超级帅的电影",channel_id:"1214520"},{title:"文艺片",channel_id:"1106892"},{title:"高逼格电影",channel_id:"1001339"}],"有故事的同学":[{title:"老照片的故事",channel_id:"1065125"},{title:"一张相片一段故事",channel_id:"1151622"},{title:"你是一个有故事的人",channel_id:"1139161"},{title:"记录你和亲人的小故事",channel_id:"1163440"}],"不唱歌会死":[{title:"隔墙有耳",channel_id:"267"},{title:"声控福利社",channel_id:"1261209"},{title:"诗书讲坛",channel_id:"1262196"},{title:"模仿电视购物广告",channel_id:"1262895"}],"脑洞少年":[{title:"找个人一起做怪怪的事",channel_id:"1016708"},{title:"专注呼吸二十年",channel_id:"1021627"},{title:"那些丧心病狂的歌儿",channel_id:"1017407"},{title:"你想要自带的技能",channel_id:"1085123"}],"文艺青年":[{title:"我纷纷的诗欲",channel_id:"1622"},{title:"文艺怪诞",channel_id:"899"},{title:"三行情书",channel_id:"1002722"},{title:"分享书籍封面插图",channel_id:"1037712"}]}},3:function(A,e){"use strict";A.exports=function(){var A=[];return A.toString=function(){for(var A=[],e=0;e<this.length;e++){var t=this[e];t[2]?A.push("@media "+t[2]+"{"+t[1]+"}"):A.push(t[1])}return A.join("")},A.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},o=0;o<this.length;o++){var n=this[o][0];"number"==typeof n&&(i[n]=!0)}for(o=0;o<e.length;o++){var r=e[o];"number"==typeof r[0]&&i[r[0]]||(t&&!r[2]?r[2]=t:t&&(r[2]="("+r[2]+") and ("+t+")"),A.push(r))}},A}},5:function(A,e,t){function i(A,e){for(var t=0;t<A.length;t++){var i=A[t],o=u[i.id];if(o){o.refs++;for(var n=0;n<o.parts.length;n++)o.parts[n](i.parts[n]);for(;n<i.parts.length;n++)o.parts.push(c(i.parts[n],e))}else{for(var r=[],n=0;n<i.parts.length;n++)r.push(c(i.parts[n],e));u[i.id]={id:i.id,refs:1,parts:r}}}}function o(A){for(var e=[],t={},i=0;i<A.length;i++){var o=A[i],n=o[0],r=o[1],c=o[2],a=o[3],s={css:r,media:c,sourceMap:a};t[n]?t[n].parts.push(s):e.push(t[n]={id:n,parts:[s]})}return e}function n(){var A=document.createElement("style"),e=w();return A.type="text/css",e.appendChild(A),A}function r(){var A=document.createElement("link"),e=w();return A.rel="stylesheet",e.appendChild(A),A}function c(A,e){var t,i,o;if(e.singleton){var c=B++;t=d||(d=n()),i=a.bind(null,t,c,!1),o=a.bind(null,t,c,!0)}else A.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(t=r(),i=g.bind(null,t),o=function(){t.parentNode.removeChild(t),t.href&&URL.revokeObjectURL(t.href)}):(t=n(),i=s.bind(null,t),o=function(){t.parentNode.removeChild(t)});return i(A),function(e){if(e){if(e.css===A.css&&e.media===A.media&&e.sourceMap===A.sourceMap)return;i(A=e)}else o()}}function a(A,e,t,i){var o=t?"":i.css;if(A.styleSheet)A.styleSheet.cssText=I(e,o);else{var n=document.createTextNode(o),r=A.childNodes;r[e]&&A.removeChild(r[e]),r.length?A.insertBefore(n,r[e]):A.appendChild(n)}}function s(A,e){var t=e.css,i=e.media;e.sourceMap;if(i&&A.setAttribute("media",i),A.styleSheet)A.styleSheet.cssText=t;else{for(;A.firstChild;)A.removeChild(A.firstChild);A.appendChild(document.createTextNode(t))}}function g(A,e){var t=e.css,i=(e.media,e.sourceMap);i&&(t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var o=new Blob([t],{type:"text/css"}),n=A.href;A.href=URL.createObjectURL(o),n&&URL.revokeObjectURL(n)}var u={},l=function(A){var e;return function(){return"undefined"==typeof e&&(e=A.apply(this,arguments)),e}},E=l(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),w=l(function(){return document.head||document.getElementsByTagName("head")[0]}),d=null,B=0;A.exports=function(A,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=E());var t=o(A);return i(t,e),function(A){for(var n=[],r=0;r<t.length;r++){var c=t[r],a=u[c.id];a.refs--,n.push(a)}if(A){var s=o(A);i(s,e)}for(var r=0;r<n.length;r++){var a=n[r];if(0===a.refs){for(var g=0;g<a.parts.length;g++)a.parts[g]();delete u[a.id]}}}};var I=function(){var A=[];return function(e,t){return A[e]=t,A.filter(Boolean).join("\n")}}()},15:function(A,e,t){var i;!function(o){!function(){if(!o.requestAnimationFrame){o.webkitRequestAnimationFrame&&(o.requestAnimationFrame=o.webkitRequestAnimationFrame,o.cancelAnimationFrame=o.webkitCancelAnimationFrame||o.webkitCancelRequestAnimationFrame);var A=0;o.requestAnimationFrame=function(e){var t=(new Date).getTime(),i=Math.max(0,16-(t-A)),n=o.setTimeout(function(){e(t+i)},i);return A=t+i,n},o.cancelAnimationFrame=function(A){clearTimeout(A)}}}(),i=function(){return o.requestAnimationFrame}.call(e,t,e,A),!(void 0!==i&&(A.exports=i))}(window)},42:function(A,e,t){var i=t(43);"string"==typeof i&&(i=[[A.id,i,""]]);t(5)(i,{});i.locals&&(A.exports=i.locals)},43:function(A,e,t){e=A.exports=t(3)(),e.push([A.id,"@charset \"UTF-8\";a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,input,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}a{text-decoration:none}button{padding:0;border:0}::-moz-selection{background:#fd0;color:#0093ff}::selection{background:#fd0;color:#0093ff}html{width:100%;height:100%;font-size:62.5%;font-family:Helvetica Neue,Hiragino Sans GB,Heiti SC,Microsoft YaHei,\\\\5FAE\\8F6F\\96C5\\9ED1,Arial,\"sans-serif\";-webkit-tap-highlight-color:transparent}input{-webkit-appearance:none;border-radius:0;outline:0}.table{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.table ul{margin-top:20px;overflow:hidden}.table ul:first-child{margin-top:0}.table li{display:block;background-color:#fff;color:#666;height:56px;position:relative;padding-left:15px;font-size:1pc;line-height:56px;white-space:nowrap;font-weight:300;text-overflow:ellipsis;overflow:hidden;cursor:pointer;-webkit-transition:background-color .3s cubic-bezier(0.19,1,0.22,1);transition:background-color .3s cubic-bezier(0.19,1,0.22,1);-webkit-transition-duration:.3s;transition-duration:.3s;padding-right:36px;border:none}.table li:before{position:absolute;content:'';height:1px;right:0;top:0;left:15px;background-image:url('');background-repeat:repeat-x;background-position:top;background-size:1px}.table li:first-child:before{background:none}@media only screen and (-webkit-min-device-pixel-ratio:3),only screen and (-webkit-min-device-pixel-ratio:3.125),only screen and (min-resolution:300dpi){.table li:before{background-image:url('')}}.table li.chevron:after{position:absolute;content:'';height:100%;right:15px;left:0;background:url('') no-repeat;background-position:right center;background-size:8px}body,html{background-color:#efefef;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.responsive-container{margin:0 auto;background-color:#fff;position:relative}.responsive-container,.tile-container{width:32rem;height:100%;overflow:hidden}.tile-container{position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;top:0}.top-content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;background-image:url('');background-size:100%;background-position:center;background-repeat:no-repeat}.main-board{width:32rem;height:42.666rem;background-image:url('');position:relative;box-sizing:border-box;padding-top:2.9rem}.main-board,.main-board-image{background-size:100%;background-position:50% 100%;background-repeat:no-repeat}.main-board-image{background-image:url('');position:absolute;top:0;left:0}.channels,.main-board-image{width:100%;height:100%}.channel{position:relative;display:inline-block;float:left}.channel>*{display:none}.channel:nth-child(1),.channel:nth-child(2),.channel:nth-child(3){width:33.3%;height:10rem}.channel:nth-child(4){width:66.6%;height:10rem}.channel:nth-child(5),.channel:nth-child(6){width:33.3%;height:10rem}.channel:nth-child(7){width:66.6%;height:10rem}.channel:nth-child(8),.channel:nth-child(9),.channel:nth-child(10){width:33.3%;height:10rem}.post-bottom-area{height:14.4rem;background-color:#fff;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.post-bottom-area .back{width:4.4rem;height:4.4rem;position:absolute;top:50%;margin-top:-2.2rem;margin-left:2.7rem;background-position:center;background-image:url('');background-size:100%}.post-bottom-area .add{background-position:center;background-image:url('');background-size:100%;background-repeat:no-repeat}.post-bottom-area .add,.post-bottom-area .send{width:6.4rem;height:6.4rem;line-height:6.4rem;text-align:center;position:absolute;top:50%;margin-top:-3.2rem;left:50%;margin-left:-3.2rem;color:#fff}.post-bottom-area .send{display:none;font-size:1.6rem;font-weight:700;border-radius:3.2rem;background-color:#fd0}.post-wrapper{width:32rem;height:100%;position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;z-index:-1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;top:0}.post-top-area{opacity:0;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;background-position:center;background-size:100%}.post-container{position:absolute;top:0;bottom:0;left:0;right:0;display:none}.post-container .desc,.post-container .illustration{position:absolute;top:0;bottom:0;left:0;right:0;background-size:100%;height:100%;background-position:center}.post-container[title=摄影达人] .illustration{background-image:url('')}.post-container[title=摄影达人] .desc{background-image:url('')}.post-container[title=看天] .illustration{background-image:url('')}.post-container[title=看天] .desc{background-image:url('')}.post-container[title=二次元] .illustration{background-image:url('')}.post-container[title=二次元] .desc{background-image:url('')}.post-container[title=音乐发烧友] .illustration{background-image:url('')}.post-container[title=音乐发烧友] .desc{background-image:url('')}.post-container[title=自拍控] .illustration{background-image:url('')}.post-container[title=自拍控] .desc{background-image:url('')}.post-container[title=观影狂魔] .illustration{background-image:url('')}.post-container[title=观影狂魔] .desc{background-image:url('')}.post-container[title=有故事的同学] .illustration{background-image:url('')}.post-container[title=有故事的同学] .desc{background-image:url('')}.post-container[title=不唱歌会死] .illustration{background-image:url('')}.post-container[title=不唱歌会死] .desc{background-image:url('')}.post-container[title=脑洞少年] .illustration{background-image:url('')}.post-container[title=脑洞少年] .desc{background-image:url('')}.post-container[title=文艺青年] .illustration{background-image:url('')}.post-container[title=文艺青年] .desc{background-image:url('')}@media screen and (min-aspect-ratio:9/15){.illustration{background-position:50% 66%!important}.desc{background-position:50% 76%!important}}.post{position:absolute;top:0;bottom:0;left:0;right:0;display:none}.post.post-photo{background-color:#f2f2f2}.post.post-photo .content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-height:32rem;width:100%;background-size:100%;background-position:center;background-repeat:no-repeat}.post.post-text textarea{display:block;border:none;background-color:transparent;width:26rem;height:16rem;text-align:center;color:#fff;font-size:2rem;line-height:2.8rem;margin:0 3rem;box-sizing:border-box;outline:0}.post.post-text textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.5)}.post.post-text textarea::-moz-placeholder{color:hsla(0,0%,100%,.5)}.post.post-text textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.5)}.post.post-text textarea::placeholder{color:hsla(0,0%,100%,.5)}.post.post-audio{background-color:#f2f2f2}.post.post-audio .card-container{height:16rem;width:90%}.post.post-movie{background-color:#f2f2f2}.post.post-movie .movie-cover{width:100%;height:22rem;background-size:contain;background-repeat:no-repeat;background-position:center}.post.post-movie .movie-title{color:#0093ff;font-size:2rem;line-height:2rem;margin-top:1.2rem}.post.post-movie .movie-subtitle,.post.post-movie .movie-title{overflow:hidden;text-overflow:ellipsis;width:100%;padding:0 2rem;box-sizing:border-box;text-align:center}.post.post-movie .movie-subtitle{color:#ccc;margin-top:.6rem;font-size:1.2rem;line-height:1.2rem;font-weight:300}.post.post-music{background-color:#f2f2f2}.post.post-music .music-cover{width:22rem;height:22rem;background-size:cover;background-position:center;background-color:#fff}.post.post-music .music-title{color:#0093ff;font-size:2rem;line-height:2rem;margin-top:2.2rem}.post.post-music .music-artist,.post.post-music .music-title{overflow:hidden;text-overflow:ellipsis;width:100%;padding:0 2rem;box-sizing:border-box;text-align:center}.post.post-music .music-artist{color:#ccc;margin-top:.6rem;font-size:1.2rem;line-height:1.2rem;font-weight:300}.post-inner-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;widht:100%;left:0;right:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.post-inner-wrapper,.posted{position:absolute;height:100%}.posted{display:none;width:32rem;background-color:#fff;z-index:100}.posted-flex-wrapper{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.posted-top-area{background-color:#f2f2f2;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.table ul{margin-top:0}.table li{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding-right:1pc}.posted-label{text-align:center;color:#ccc;font-weight:light;font-size:9pt;line-height:2pc}.posted-button-wrapper{margin:0 1pc;margin-top:4px;margin-bottom:20px}button.enter-same{width:100%;height:44px;border-radius:8px;background-color:#0093ff;color:#fff;font-size:1pc;outline:0}button.enter-same.disable{background-color:#ccc}.channel-title{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;padding-right:1pc}.add-button{height:24px;width:24px;line-height:24px;background-image:url('');background-size:100%;background-repeat:no-repeat}.add-button.added{width:4pc;border-radius:9pt;text-align:center;font-size:14px;background-image:none;color:#fff;background-color:#dedede}.posted-top-area{background-repeat:no-repeat;background-size:100%;background-position:center;position:relative}.posted-top-area[title=摄影达人]{background-image:url('')}.posted-top-area[title=看天]{background-image:url('')}.posted-top-area[title=二次元]{background-image:url('')}.posted-top-area[title=音乐发烧友]{background-image:url('')}.posted-top-area[title=自拍控]{background-image:url('')}.posted-top-area[title=观影狂魔]{background-image:url('')}.posted-top-area[title=有故事的同学]{background-image:url('')}.posted-top-area[title=不唱歌会死]{background-image:url('')}.posted-top-area[title=脑洞少年]{background-image:url('')}.posted-top-area[title=文艺青年]{background-image:url('')}.post-interest-label{height:1.2rem;width:100%;background-position:center;background-repeat:no-repeat;background-size:100%;background-image:url('');position:absolute}@media screen and (max-aspect-ratio:9/15){.posted-top-area{background-size:134%}.post-interest-label{display:block}}@media screen and (max-aspect-ratio:9/15){.posted-top-area{background-position:50% -10%}.post-interest-label{top:85%}}@media screen and (min-height:600px){.posted-top-area{background-position:50% 20%}.post-interest-label{top:85%}}@media screen and (min-height:700px){.posted-top-area{background-position:50% 30%}.post-interest-label{top:75%}}",""]);
},44:function(A,e,t){var i,o;!function(A){function e(A){var e=A.length,i=t.type(A);return"function"===i||t.isWindow(A)?!1:1===A.nodeType&&e?!0:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in A}if(!A.jQuery){var t=function s(A,e){return new s.fn.init(A,e)};t.isWindow=function(A){return null!=A&&A==A.window},t.type=function(A){return null==A?A+"":"object"==typeof A||"function"==typeof A?o[r.call(A)]||"object":typeof A},t.isArray=Array.isArray||function(A){return"array"===t.type(A)},t.isPlainObject=function(A){var e;if(!A||"object"!==t.type(A)||A.nodeType||t.isWindow(A))return!1;try{if(A.constructor&&!n.call(A,"constructor")&&!n.call(A.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}for(e in A);return void 0===e||n.call(A,e)},t.each=function(A,t,i){var o,n=0,r=A.length,c=e(A);if(i){if(c)for(;r>n&&(o=t.apply(A[n],i),o!==!1);n++);else for(n in A)if(o=t.apply(A[n],i),o===!1)break}else if(c)for(;r>n&&(o=t.call(A[n],n,A[n]),o!==!1);n++);else for(n in A)if(o=t.call(A[n],n,A[n]),o===!1)break;return A},t.data=function(A,e,o){if(void 0===o){var n=A[t.expando],r=n&&i[n];if(void 0===e)return r;if(r&&e in r)return r[e]}else if(void 0!==e){var n=A[t.expando]||(A[t.expando]=++t.uuid);return i[n]=i[n]||{},i[n][e]=o,o}},t.removeData=function(A,e){var o=A[t.expando],n=o&&i[o];n&&t.each(e,function(A,e){delete n[e]})},t.extend=function(){var A,e,i,o,n,r,c=arguments[0]||{},a=1,s=arguments.length,g=!1;for("boolean"==typeof c&&(g=c,c=arguments[a]||{},a++),"object"!=typeof c&&"function"!==t.type(c)&&(c={}),a===s&&(c=this,a--);s>a;a++)if(null!=(n=arguments[a]))for(o in n)A=c[o],i=n[o],c!==i&&(g&&i&&(t.isPlainObject(i)||(e=t.isArray(i)))?(e?(e=!1,r=A&&t.isArray(A)?A:[]):r=A&&t.isPlainObject(A)?A:{},c[o]=t.extend(g,r,i)):void 0!==i&&(c[o]=i));return c},t.queue=function(A,i,o){function n(A,t){var i=t||[];return null!=A&&(e(Object(A))?!function(A,e){for(var t=+e.length,i=0,o=A.length;t>i;)A[o++]=e[i++];if(t!==t)for(;void 0!==e[i];)A[o++]=e[i++];return A.length=o,A}(i,"string"==typeof A?[A]:A):[].push.call(i,A)),i}if(A){i=(i||"fx")+"queue";var r=t.data(A,i);return o?(!r||t.isArray(o)?r=t.data(A,i,n(o)):r.push(o),r):r||[]}},t.dequeue=function(A,e){t.each(A.nodeType?[A]:A,function(A,i){e=e||"fx";var o=t.queue(i,e),n=o.shift();"inprogress"===n&&(n=o.shift()),n&&("fx"===e&&o.unshift("inprogress"),n.call(i,function(){t.dequeue(i,e)}))})},t.fn=t.prototype={init:function(A){if(A.nodeType)return this[0]=A,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(A.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(A.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function A(){for(var A=this.offsetParent||document;A&&"html"===!A.nodeType.toLowerCase&&"static"===A.style.position;)A=A.offsetParent;return A||document}var e=this[0],A=A.apply(e),i=this.offset(),o=/^(?:body|html)$/i.test(A.nodeName)?{top:0,left:0}:t(A).offset();return i.top-=parseFloat(e.style.marginTop)||0,i.left-=parseFloat(e.style.marginLeft)||0,A.style&&(o.top+=parseFloat(A.style.borderTopWidth)||0,o.left+=parseFloat(A.style.borderLeftWidth)||0),{top:i.top-o.top,left:i.left-o.left}}};var i={};t.expando="velocity"+(new Date).getTime(),t.uuid=0;for(var o={},n=o.hasOwnProperty,r=o.toString,c="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<c.length;a++)o["[object "+c[a]+"]"]=c[a].toLowerCase();t.fn.init.prototype=t.fn,A.Velocity={Utilities:t}}}(window),function(n){"object"==typeof A&&"object"==typeof A.exports?A.exports=n():(i=n,o="function"==typeof i?i.call(e,t,e,A):i,!(void 0!==o&&(A.exports=o)))}(function(){return function(A,e,t,i){function o(A){for(var e=-1,t=A?A.length:0,i=[];++e<t;){var o=A[e];o&&i.push(o)}return i}function n(A){return d.isWrapped(A)?A=[].slice.call(A):d.isNode(A)&&(A=[A]),A}function r(A){var e=l.data(A,"velocity");return null===e?i:e}function c(A){return function(e){return Math.round(e*A)*(1/A)}}function a(A,t,i,o){function n(A,e){return 1-3*e+3*A}function r(A,e){return 3*e-6*A}function c(A){return 3*A}function a(A,e,t){return((n(e,t)*A+r(e,t))*A+c(e))*A}function s(A,e,t){return 3*n(e,t)*A*A+2*r(e,t)*A+c(e)}function g(e,t){for(var o=0;d>o;++o){var n=s(t,A,i);if(0===n)return t;var r=a(t,A,i)-e;t-=r/n}return t}function u(){for(var e=0;x>e;++e)O[e]=a(e*p,A,i)}function l(e,t,o){var n,r,c=0;do r=t+(o-t)/2,n=a(r,A,i)-e,n>0?o=r:t=r;while(Math.abs(n)>I&&++c<h);return r}function E(e){for(var t=0,o=1,n=x-1;o!=n&&O[o]<=e;++o)t+=p;--o;var r=(e-O[o])/(O[o+1]-O[o]),c=t+r*p,a=s(c,A,i);return a>=B?g(e,c):0==a?c:l(e,t,t+p)}function w(){Q=!0,(A!=t||i!=o)&&u()}var d=4,B=.001,I=1e-7,h=10,x=11,p=1/(x-1),C="Float32Array"in e;if(4!==arguments.length)return!1;for(var D=0;4>D;++D)if("number"!=typeof arguments[D]||isNaN(arguments[D])||!isFinite(arguments[D]))return!1;A=Math.min(A,1),i=Math.min(i,1),A=Math.max(A,0),i=Math.max(i,0);var O=C?new Float32Array(x):new Array(x),Q=!1,f=function(e){return Q||w(),A===t&&i===o?e:0===e?0:1===e?1:a(E(e),t,o)};f.getControlPoints=function(){return[{x:A,y:t},{x:i,y:o}]};var H="generateBezier("+[A,t,i,o]+")";return f.toString=function(){return H},f}function s(A,e){var t=A;return d.isString(A)?x.Easings[A]||(t=!1):t=d.isArray(A)&&1===A.length?c.apply(null,A):d.isArray(A)&&2===A.length?p.apply(null,A.concat([e])):d.isArray(A)&&4===A.length?a.apply(null,A):!1,t===!1&&(t=x.Easings[x.defaults.easing]?x.defaults.easing:h),t}function g(A){if(A){var e=(new Date).getTime(),t=x.State.calls.length;t>1e4&&(x.State.calls=o(x.State.calls));for(var n=0;t>n;n++)if(x.State.calls[n]){var c=x.State.calls[n],a=c[0],s=c[2],E=c[3],w=!!E,B=null;E||(E=x.State.calls[n][3]=e-16);for(var I=Math.min((e-E)/s.duration,1),h=0,p=a.length;p>h;h++){var D=a[h],Q=D.element;if(r(Q)){var f=!1;if(s.display!==i&&null!==s.display&&"none"!==s.display){if("flex"===s.display){var H=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];l.each(H,function(A,e){C.setPropertyValue(Q,"display",e)})}C.setPropertyValue(Q,"display",s.display)}s.visibility!==i&&"hidden"!==s.visibility&&C.setPropertyValue(Q,"visibility",s.visibility);for(var M in D)if("element"!==M){var m,j=D[M],b=d.isString(j.easing)?x.Easings[j.easing]:j.easing;if(1===I)m=j.endValue;else{var v=j.endValue-j.startValue;if(m=j.startValue+v*b(I,s,v),!w&&m===j.currentValue)continue}if(j.currentValue=m,"tween"===M)B=m;else{if(C.Hooks.registered[M]){var R=C.Hooks.getRoot(M),Y=r(Q).rootPropertyValueCache[R];Y&&(j.rootPropertyValue=Y)}var G=C.setPropertyValue(Q,M,j.currentValue+(0===parseFloat(m)?"":j.unitType),j.rootPropertyValue,j.scrollData);C.Hooks.registered[M]&&(C.Normalizations.registered[R]?r(Q).rootPropertyValueCache[R]=C.Normalizations.registered[R]("extract",null,G[1]):r(Q).rootPropertyValueCache[R]=G[1]),"transform"===G[0]&&(f=!0)}}s.mobileHA&&r(Q).transformCache.translate3d===i&&(r(Q).transformCache.translate3d="(0px, 0px, 0px)",f=!0),f&&C.flushTransformCache(Q)}}s.display!==i&&"none"!==s.display&&(x.State.calls[n][2].display=!1),s.visibility!==i&&"hidden"!==s.visibility&&(x.State.calls[n][2].visibility=!1),s.progress&&s.progress.call(c[1],c[1],I,Math.max(0,E+s.duration-e),E,B),1===I&&u(n)}}x.State.isTicking&&O(g)}function u(A,e){if(!x.State.calls[A])return!1;for(var t=x.State.calls[A][0],o=x.State.calls[A][1],n=x.State.calls[A][2],c=x.State.calls[A][4],a=!1,s=0,g=t.length;g>s;s++){var u=t[s].element;if(e||n.loop||("none"===n.display&&C.setPropertyValue(u,"display",n.display),"hidden"===n.visibility&&C.setPropertyValue(u,"visibility",n.visibility)),n.loop!==!0&&(l.queue(u)[1]===i||!/\.velocityQueueEntryFlag/i.test(l.queue(u)[1]))&&r(u)){r(u).isAnimating=!1,r(u).rootPropertyValueCache={};var E=!1;l.each(C.Lists.transforms3D,function(A,e){var t=/^scale/.test(e)?1:0,o=r(u).transformCache[e];r(u).transformCache[e]!==i&&new RegExp("^\\("+t+"[^.]").test(o)&&(E=!0,delete r(u).transformCache[e])}),n.mobileHA&&(E=!0,delete r(u).transformCache.translate3d),E&&C.flushTransformCache(u),C.Values.removeClass(u,"velocity-animating")}if(!e&&n.complete&&!n.loop&&s===g-1)try{n.complete.call(o,o)}catch(w){setTimeout(function(){throw w},1)}c&&n.loop!==!0&&c(o),r(u)&&n.loop===!0&&!e&&(l.each(r(u).tweensContainer,function(A,e){/^rotate/.test(A)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(A)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),x(u,"reverse",{loop:!0,delay:n.delay})),n.queue!==!1&&l.dequeue(u,n.queue)}x.State.calls[A]=!1;for(var d=0,B=x.State.calls.length;B>d;d++)if(x.State.calls[d]!==!1){a=!0;break}a===!1&&(x.State.isTicking=!1,delete x.State.calls,x.State.calls=[])}var l,E=function(){if(t.documentMode)return t.documentMode;for(var A=7;A>4;A--){var e=t.createElement("div");if(e.innerHTML="<!--[if IE "+A+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,A}return i}(),w=function(){var A=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var t,i=(new Date).getTime();return t=Math.max(0,16-(i-A)),A=i+t,setTimeout(function(){e(i+t)},t)}}(),d={isString:function(A){return"string"==typeof A},isArray:Array.isArray||function(A){return"[object Array]"===Object.prototype.toString.call(A)},isFunction:function(A){return"[object Function]"===Object.prototype.toString.call(A)},isNode:function(A){return A&&A.nodeType},isNodeList:function(A){return"object"==typeof A&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(A))&&A.length!==i&&(0===A.length||"object"==typeof A[0]&&A[0].nodeType>0)},isWrapped:function(A){return A&&(A.jquery||e.Zepto&&e.Zepto.zepto.isZ(A))},isSVG:function(A){return e.SVGElement&&A instanceof e.SVGElement},isEmptyObject:function(A){for(var e in A)return!1;return!0}},B=!1;if(A.fn&&A.fn.jquery?(l=A,B=!0):l=e.Velocity.Utilities,8>=E&&!B)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=E)return void(jQuery.fn.velocity=jQuery.fn.animate);var I=400,h="swing",x={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:t.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:l,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:I,easing:h,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(A){l.data(A,"velocity",{isSVG:d.isSVG(A),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==i?(x.State.scrollAnchor=e,x.State.scrollPropertyLeft="pageXOffset",x.State.scrollPropertyTop="pageYOffset"):(x.State.scrollAnchor=t.documentElement||t.body.parentNode||t.body,x.State.scrollPropertyLeft="scrollLeft",x.State.scrollPropertyTop="scrollTop");var p=function(){function A(A){return-A.tension*A.x-A.friction*A.v}function e(e,t,i){var o={x:e.x+i.dx*t,v:e.v+i.dv*t,tension:e.tension,friction:e.friction};return{dx:o.v,dv:A(o)}}function t(t,i){var o={dx:t.v,dv:A(t)},n=e(t,.5*i,o),r=e(t,.5*i,n),c=e(t,i,r),a=1/6*(o.dx+2*(n.dx+r.dx)+c.dx),s=1/6*(o.dv+2*(n.dv+r.dv)+c.dv);return t.x=t.x+a*i,t.v=t.v+s*i,t}return function i(A,e,o){var n,r,c,a={x:-1,v:0,tension:null,friction:null},s=[0],g=0,u=1e-4,l=.016;for(A=parseFloat(A)||500,e=parseFloat(e)||20,o=o||null,a.tension=A,a.friction=e,n=null!==o,n?(g=i(A,e),r=g/o*l):r=l;;)if(c=t(c||a,r),s.push(1+c.x),g+=16,!(Math.abs(c.x)>u&&Math.abs(c.v)>u))break;return n?function(A){return s[A*(s.length-1)|0]}:g}}();x.Easings={linear:function(A){return A},swing:function(A){return.5-Math.cos(A*Math.PI)/2},spring:function(A){return 1-Math.cos(4.5*A*Math.PI)*Math.exp(6*-A)}},l.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(A,e){x.Easings[e[0]]=a.apply(null,e[1])});var C=x.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var A=0;A<C.Lists.colors.length;A++){var e="color"===C.Lists.colors[A]?"0 0 0 1":"255 255 255 1";C.Hooks.templates[C.Lists.colors[A]]=["Red Green Blue Alpha",e]}var t,i,o;if(E)for(t in C.Hooks.templates){i=C.Hooks.templates[t],o=i[0].split(" ");var n=i[1].match(C.RegEx.valueSplit);"Color"===o[0]&&(o.push(o.shift()),n.push(n.shift()),C.Hooks.templates[t]=[o.join(" "),n.join(" ")])}for(t in C.Hooks.templates){i=C.Hooks.templates[t],o=i[0].split(" ");for(var A in o){var r=t+o[A],c=A;C.Hooks.registered[r]=[t,c]}}},getRoot:function(A){var e=C.Hooks.registered[A];return e?e[0]:A},cleanRootPropertyValue:function(A,e){return C.RegEx.valueUnwrap.test(e)&&(e=e.match(C.RegEx.valueUnwrap)[1]),C.Values.isCSSNullValue(e)&&(e=C.Hooks.templates[A][1]),e},extractValue:function(A,e){var t=C.Hooks.registered[A];if(t){var i=t[0],o=t[1];return e=C.Hooks.cleanRootPropertyValue(i,e),e.toString().match(C.RegEx.valueSplit)[o]}return e},injectValue:function(A,e,t){var i=C.Hooks.registered[A];if(i){var o,n,r=i[0],c=i[1];return t=C.Hooks.cleanRootPropertyValue(r,t),o=t.toString().match(C.RegEx.valueSplit),o[c]=e,n=o.join(" ")}return t}},Normalizations:{registered:{clip:function(A,e,t){switch(A){case"name":return"clip";case"extract":var i;return C.RegEx.wrappedValueAlreadyExtracted.test(t)?i=t:(i=t.toString().match(C.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):t),i;case"inject":return"rect("+t+")"}},blur:function(A,e,t){switch(A){case"name":return x.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(t);if(!i&&0!==i){var o=t.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=o?o[1]:0}return i;case"inject":return parseFloat(t)?"blur("+t+")":"none"}},opacity:function(A,e,t){if(8>=E)switch(A){case"name":return"filter";case"extract":var i=t.toString().match(/alpha\(opacity=(.*)\)/i);return t=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(t)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(t),10)+")"}else switch(A){case"name":return"opacity";case"extract":return t;case"inject":return t}}},register:function(){9>=E||x.State.isGingerbread||(C.Lists.transformsBase=C.Lists.transformsBase.concat(C.Lists.transforms3D));for(var A=0;A<C.Lists.transformsBase.length;A++)!function(){var e=C.Lists.transformsBase[A];C.Normalizations.registered[e]=function(A,t,o){switch(A){case"name":return"transform";case"extract":return r(t)===i||r(t).transformCache[e]===i?/^scale/i.test(e)?1:0:r(t).transformCache[e].replace(/[()]/g,"");case"inject":var n=!1;switch(e.substr(0,e.length-1)){case"translate":n=!/(%|px|em|rem|vw|vh|\d)$/i.test(o);break;case"scal":case"scale":x.State.isAndroid&&r(t).transformCache[e]===i&&1>o&&(o=1),n=!/(\d)$/i.test(o);break;case"skew":n=!/(deg|\d)$/i.test(o);break;case"rotate":n=!/(deg|\d)$/i.test(o)}return n||(r(t).transformCache[e]="("+o+")"),r(t).transformCache[e]}}}();for(var A=0;A<C.Lists.colors.length;A++)!function(){var e=C.Lists.colors[A];C.Normalizations.registered[e]=function(A,t,o){switch(A){case"name":return e;case"extract":var n;if(C.RegEx.wrappedValueAlreadyExtracted.test(o))n=o;else{var r,c={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(o)?r=c[o]!==i?c[o]:c.black:C.RegEx.isHex.test(o)?r="rgb("+C.Values.hexToRgb(o).join(" ")+")":/^rgba?\(/i.test(o)||(r=c.black),n=(r||o).toString().match(C.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=E||3!==n.split(" ").length||(n+=" 1"),n;case"inject":return 8>=E?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(8>=E?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(A){return A.replace(/-(\w)/g,function(A,e){return e.toUpperCase()})},SVGAttribute:function(A){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(E||x.State.isAndroid&&!x.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(A)},prefixCheck:function(A){if(x.State.prefixMatches[A])return[x.State.prefixMatches[A],!0];for(var e=["","Webkit","Moz","ms","O"],t=0,i=e.length;i>t;t++){var o;if(o=0===t?A:e[t]+A.replace(/^\w/,function(A){return A.toUpperCase()}),d.isString(x.State.prefixElement.style[o]))return x.State.prefixMatches[A]=o,[o,!0]}return[A,!1]}},Values:{hexToRgb:function(A){var e,t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return A=A.replace(t,function(A,e,t,i){return e+e+t+t+i+i}),e=i.exec(A),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(A){return 0==A||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(A)},getUnitType:function(A){return/^(rotate|skew)/i.test(A)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(A)?"":"px"},getDisplayType:function(A){var e=A&&A.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(A,e){A.classList?A.classList.add(e):A.className+=(A.className.length?" ":"")+e},removeClass:function(A,e){A.classList?A.classList.remove(e):A.className=A.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(A,t,o,n){function c(A,t){var o=0;if(8>=E)o=l.css(A,t);else{var a=function(){s&&C.setPropertyValue(A,"display","none")},s=!1;if(/^(width|height)$/.test(t)&&0===C.getPropertyValue(A,"display")&&(s=!0,C.setPropertyValue(A,"display",C.Values.getDisplayType(A))),!n){if("height"===t&&"border-box"!==C.getPropertyValue(A,"boxSizing").toString().toLowerCase()){var g=A.offsetHeight-(parseFloat(C.getPropertyValue(A,"borderTopWidth"))||0)-(parseFloat(C.getPropertyValue(A,"borderBottomWidth"))||0)-(parseFloat(C.getPropertyValue(A,"paddingTop"))||0)-(parseFloat(C.getPropertyValue(A,"paddingBottom"))||0);return a(),g}if("width"===t&&"border-box"!==C.getPropertyValue(A,"boxSizing").toString().toLowerCase()){var u=A.offsetWidth-(parseFloat(C.getPropertyValue(A,"borderLeftWidth"))||0)-(parseFloat(C.getPropertyValue(A,"borderRightWidth"))||0)-(parseFloat(C.getPropertyValue(A,"paddingLeft"))||0)-(parseFloat(C.getPropertyValue(A,"paddingRight"))||0);return a(),u}}var w;w=r(A)===i?e.getComputedStyle(A,null):r(A).computedStyle?r(A).computedStyle:r(A).computedStyle=e.getComputedStyle(A,null),"borderColor"===t&&(t="borderTopColor"),o=9===E&&"filter"===t?w.getPropertyValue(t):w[t],(""===o||null===o)&&(o=A.style[t]),a()}if("auto"===o&&/^(top|right|bottom|left)$/i.test(t)){var d=c(A,"position");("fixed"===d||"absolute"===d&&/top|left/i.test(t))&&(o=l(A).position()[t]+"px")}return o}var a;if(C.Hooks.registered[t]){var s=t,g=C.Hooks.getRoot(s);o===i&&(o=C.getPropertyValue(A,C.Names.prefixCheck(g)[0])),C.Normalizations.registered[g]&&(o=C.Normalizations.registered[g]("extract",A,o)),a=C.Hooks.extractValue(s,o)}else if(C.Normalizations.registered[t]){var u,w;u=C.Normalizations.registered[t]("name",A),"transform"!==u&&(w=c(A,C.Names.prefixCheck(u)[0]),C.Values.isCSSNullValue(w)&&C.Hooks.templates[t]&&(w=C.Hooks.templates[t][1])),a=C.Normalizations.registered[t]("extract",A,w)}if(!/^[\d-]/.test(a))if(r(A)&&r(A).isSVG&&C.Names.SVGAttribute(t))if(/^(height|width)$/i.test(t))try{a=A.getBBox()[t]}catch(d){a=0}else a=A.getAttribute(t);else a=c(A,C.Names.prefixCheck(t)[0]);return C.Values.isCSSNullValue(a)&&(a=0),x.debug>=2&&console.log("Get "+t+": "+a),a},setPropertyValue:function(A,t,i,o,n){var c=t;if("scroll"===t)n.container?n.container["scroll"+n.direction]=i:"Left"===n.direction?e.scrollTo(i,n.alternateValue):e.scrollTo(n.alternateValue,i);else if(C.Normalizations.registered[t]&&"transform"===C.Normalizations.registered[t]("name",A))C.Normalizations.registered[t]("inject",A,i),c="transform",i=r(A).transformCache[t];else{if(C.Hooks.registered[t]){var a=t,s=C.Hooks.getRoot(t);o=o||C.getPropertyValue(A,s),i=C.Hooks.injectValue(a,i,o),t=s}if(C.Normalizations.registered[t]&&(i=C.Normalizations.registered[t]("inject",A,i),t=C.Normalizations.registered[t]("name",A)),c=C.Names.prefixCheck(t)[0],8>=E)try{A.style[c]=i}catch(g){x.debug&&console.log("Browser does not support ["+i+"] for ["+c+"]")}else r(A)&&r(A).isSVG&&C.Names.SVGAttribute(t)?A.setAttribute(t,i):A.style[c]=i;x.debug>=2&&console.log("Set "+t+" ("+c+"): "+i)}return[c,i]},flushTransformCache:function(A){var e="";if((E||x.State.isAndroid&&!x.State.isChrome)&&r(A).isSVG){var t=function(e){return parseFloat(C.getPropertyValue(A,e))},i={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};l.each(r(A).transformCache,function(A){/^translate/i.test(A)?A="translate":/^scale/i.test(A)?A="scale":/^rotate/i.test(A)&&(A="rotate"),i[A]&&(e+=A+"("+i[A].join(" ")+") ",delete i[A])})}else{var o,n;l.each(r(A).transformCache,function(t){return o=r(A).transformCache[t],"transformPerspective"===t?(n=o,!0):(9===E&&"rotateZ"===t&&(t="rotate"),void(e+=t+o+" "))}),n&&(e="perspective"+n+" "+e)}C.setPropertyValue(A,"transform",e)}};C.Hooks.register(),C.Normalizations.register(),x.hook=function(A,e,t){var o=i;return A=n(A),l.each(A,function(A,n){if(r(n)===i&&x.init(n),t===i)o===i&&(o=x.CSS.getPropertyValue(n,e));else{var c=x.CSS.setPropertyValue(n,e,t);"transform"===c[0]&&x.CSS.flushTransformCache(n),o=c}}),o};var D=function Q(){function A(){return c?M.promise||null:a}function o(){function A(A){if(c.begin&&0===O)try{c.begin.call(w,w)}catch(u){setTimeout(function(){throw u},1)}if("scroll"===m){var E,I,p,Q=/^x$/i.test(c.axis)?"Left":"Top",f=parseFloat(c.offset)||0;c.container?d.isWrapped(c.container)||d.isNode(c.container)?(c.container=c.container[0]||c.container,E=c.container["scroll"+Q],p=E+l(n).position()[Q.toLowerCase()]+f):c.container=null:(E=x.State.scrollAnchor[x.State["scrollProperty"+Q]],I=x.State.scrollAnchor[x.State["scrollProperty"+("Left"===Q?"Top":"Left")]],p=l(n).offset()[Q.toLowerCase()]+f),a={scroll:{rootPropertyValue:!1,startValue:E,currentValue:E,endValue:p,unitType:"",easing:c.easing,scrollData:{container:c.container,direction:Q,alternateValue:I}},element:n},x.debug&&console.log("tweensContainer (scroll): ",a.scroll,n)}else if("reverse"===m){if(!r(n).tweensContainer)return void l.dequeue(n,c.queue);"none"===r(n).opts.display&&(r(n).opts.display="auto"),"hidden"===r(n).opts.visibility&&(r(n).opts.visibility="visible"),r(n).opts.loop=!1,r(n).opts.begin=null,r(n).opts.complete=null,h.easing||delete c.easing,h.duration||delete c.duration,c=l.extend({},r(n).opts,c);var H=l.extend(!0,{},r(n).tweensContainer);for(var j in H)if("element"!==j){var b=H[j].startValue;H[j].startValue=H[j].currentValue=H[j].endValue,H[j].endValue=b,d.isEmptyObject(h)||(H[j].easing=c.easing),x.debug&&console.log("reverse tweensContainer ("+j+"): "+JSON.stringify(H[j]),n)}a=H}else if("start"===m){var H,v,R,Y,z,F,V,q,U,K,N,k,L;!function(){var A=function(A,e){var t=i,o=i,r=i;return d.isArray(A)?(t=A[0],!d.isArray(A[1])&&/^[\d-]/.test(A[1])||d.isFunction(A[1])||C.RegEx.isHex.test(A[1])?r=A[1]:(d.isString(A[1])&&!C.RegEx.isHex.test(A[1])||d.isArray(A[1]))&&(o=e?A[1]:s(A[1],c.duration),A[2]!==i&&(r=A[2]))):t=A,e||(o=o||c.easing),d.isFunction(t)&&(t=t.call(n,O,D)),d.isFunction(r)&&(r=r.call(n,O,D)),[t||0,o,r]};r(n).tweensContainer&&r(n).isAnimating===!0&&(H=r(n).tweensContainer),l.each(B,function(e,t){if(RegExp("^"+C.Lists.colors.join("$|^")+"$").test(e)){var o=A(t,!0),n=o[0],r=o[1],c=o[2];if(C.RegEx.isHex.test(n)){for(var a=["Red","Green","Blue"],s=C.Values.hexToRgb(n),g=c?C.Values.hexToRgb(c):i,u=0;u<a.length;u++){var l=[s[u]];r&&l.push(r),g!==i&&l.push(g[u]),B[e+a[u]]=l}delete B[e]}}});for(v in B){var g=function(A,e){var t,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(A){return t=A,""}),t||(t=C.Values.getUnitType(A)),[i,t]},u=function(){var A={myParent:n.parentNode||t.body,position:C.getPropertyValue(n,"position"),fontSize:C.getPropertyValue(n,"fontSize")},i=A.position===G.lastPosition&&A.myParent===G.lastParent,o=A.fontSize===G.lastFontSize;G.lastParent=A.myParent,G.lastPosition=A.position,G.lastFontSize=A.fontSize;var c=100,a={};if(o&&i)a.emToPx=G.lastEmToPx,a.percentToPxWidth=G.lastPercentToPxWidth,a.percentToPxHeight=G.lastPercentToPxHeight;else{var s=r(n).isSVG?t.createElementNS("http://www.w3.org/2000/svg","rect"):t.createElement("div");x.init(s),A.myParent.appendChild(s),l.each(["overflow","overflowX","overflowY"],function(A,e){x.CSS.setPropertyValue(s,e,"hidden")}),x.CSS.setPropertyValue(s,"position",A.position),x.CSS.setPropertyValue(s,"fontSize",A.fontSize),x.CSS.setPropertyValue(s,"boxSizing","content-box"),l.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(A,e){x.CSS.setPropertyValue(s,e,c+"%")}),x.CSS.setPropertyValue(s,"paddingLeft",c+"em"),a.percentToPxWidth=G.lastPercentToPxWidth=(parseFloat(C.getPropertyValue(s,"width",null,!0))||1)/c,a.percentToPxHeight=G.lastPercentToPxHeight=(parseFloat(C.getPropertyValue(s,"height",null,!0))||1)/c,a.emToPx=G.lastEmToPx=(parseFloat(C.getPropertyValue(s,"paddingLeft"))||1)/c,A.myParent.removeChild(s)}return null===G.remToPx&&(G.remToPx=parseFloat(C.getPropertyValue(t.body,"fontSize"))||16),null===G.vwToPx&&(G.vwToPx=parseFloat(e.innerWidth)/100,G.vhToPx=parseFloat(e.innerHeight)/100),a.remToPx=G.remToPx,a.vwToPx=G.vwToPx,a.vhToPx=G.vhToPx,x.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),n),a};if(R=A(B[v]),Y=R[0],z=R[1],F=R[2],v=C.Names.camelCase(v),V=C.Hooks.getRoot(v),q=!1,r(n).isSVG||"tween"===V||C.Names.prefixCheck(V)[1]!==!1||C.Normalizations.registered[V]!==i){if((c.display!==i&&null!==c.display&&"none"!==c.display||c.visibility!==i&&"hidden"!==c.visibility)&&/opacity|filter/.test(v)&&!F&&0!==Y&&(F=0),c._cacheValues&&H&&H[v]?(F===i&&(F=H[v].endValue+H[v].unitType),q=r(n).rootPropertyValueCache[V]):C.Hooks.registered[v]?F===i?(q=C.getPropertyValue(n,V),F=C.getPropertyValue(n,v,q)):q=C.Hooks.templates[V][1]:F===i&&(F=C.getPropertyValue(n,v)),k=!1,U=g(v,F),F=U[0],N=U[1],U=g(v,Y),Y=U[0].replace(/^([+-\/*])=/,function(A,e){return k=e,""}),K=U[1],F=parseFloat(F)||0,Y=parseFloat(Y)||0,"%"===K&&(/^(fontSize|lineHeight)$/.test(v)?(Y/=100,K="em"):/^scale/.test(v)?(Y/=100,K=""):/(Red|Green|Blue)$/i.test(v)&&(Y=Y/100*255,K="")),/[\/*]/.test(k))K=N;else if(N!==K&&0!==F)if(0===Y)K=N;else{switch(o=o||u(),L=/margin|padding|left|right|width|text|word|letter/i.test(v)||/X$/.test(v)||"x"===v?"x":"y",N){case"%":F*="x"===L?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:F*=o[N+"ToPx"]}switch(K){case"%":F*=1/("x"===L?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:F*=1/o[K+"ToPx"]}}switch(k){case"+":Y=F+Y;break;case"-":Y=F-Y;break;case"*":Y=F*Y;break;case"/":Y=F/Y}a[v]={rootPropertyValue:q,startValue:F,currentValue:F,endValue:Y,unitType:K,easing:z},x.debug&&console.log("tweensContainer ("+v+"): "+JSON.stringify(a[v]),n)}else x.debug&&console.log("Skipping ["+V+"] due to a lack of browser support.")}a.element=n}()}a.element&&(C.Values.addClass(n,"velocity-animating"),y.push(a),""===c.queue&&(r(n).tweensContainer=a,r(n).opts=c),r(n).isAnimating=!0,O===D-1?(x.State.calls.push([y,w,c,null,M.resolver]),x.State.isTicking===!1&&(x.State.isTicking=!0,g())):O++)}var o,n=this,c=l.extend({},x.defaults,h),a={};switch(r(n)===i&&x.init(n),parseFloat(c.delay)&&c.queue!==!1&&l.queue(n,c.queue,function(A){x.velocityQueueEntryFlag=!0,r(n).delayTimer={setTimeout:setTimeout(A,parseFloat(c.delay)),next:A}}),c.duration.toString().toLowerCase()){case"fast":c.duration=200;break;case"normal":c.duration=I;break;case"slow":c.duration=600;break;default:c.duration=parseFloat(c.duration)||1}x.mock!==!1&&(x.mock===!0?c.duration=c.delay=1:(c.duration*=parseFloat(x.mock)||1,c.delay*=parseFloat(x.mock)||1)),c.easing=s(c.easing,c.duration),c.begin&&!d.isFunction(c.begin)&&(c.begin=null),c.progress&&!d.isFunction(c.progress)&&(c.progress=null),c.complete&&!d.isFunction(c.complete)&&(c.complete=null),c.display!==i&&null!==c.display&&(c.display=c.display.toString().toLowerCase(),"auto"===c.display&&(c.display=x.CSS.Values.getDisplayType(n))),c.visibility!==i&&null!==c.visibility&&(c.visibility=c.visibility.toString().toLowerCase()),c.mobileHA=c.mobileHA&&x.State.isMobile&&!x.State.isGingerbread,c.queue===!1?c.delay?setTimeout(A,c.delay):A():l.queue(n,c.queue,function(e,t){return t===!0?(M.promise&&M.resolver(w),!0):(x.velocityQueueEntryFlag=!0,void A(e))}),""!==c.queue&&"fx"!==c.queue||"inprogress"===l.queue(n)[0]||l.dequeue(n)}var c,a,E,w,B,h,p=arguments[0]&&(arguments[0].p||l.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties));if(d.isWrapped(this)?(c=!1,E=0,w=this,a=this):(c=!0,E=1,w=p?arguments[0].elements||arguments[0].e:arguments[0]),w=n(w)){p?(B=arguments[0].properties||arguments[0].p,h=arguments[0].options||arguments[0].o):(B=arguments[E],h=arguments[E+1]);var D=w.length,O=0;if(!/^(stop|finish)$/i.test(B)&&!l.isPlainObject(h)){var f=E+1;h={};for(var H=f;H<arguments.length;H++)d.isArray(arguments[H])||!/^(fast|normal|slow)$/i.test(arguments[H])&&!/^\d/.test(arguments[H])?d.isString(arguments[H])||d.isArray(arguments[H])?h.easing=arguments[H]:d.isFunction(arguments[H])&&(h.complete=arguments[H]):h.duration=arguments[H]}var M={promise:null,resolver:null,rejecter:null};c&&x.Promise&&(M.promise=new x.Promise(function(A,e){M.resolver=A,M.rejecter=e}));var m;switch(B){case"scroll":m="scroll";break;case"reverse":m="reverse";break;case"finish":case"stop":l.each(w,function(A,e){r(e)&&r(e).delayTimer&&(clearTimeout(r(e).delayTimer.setTimeout),r(e).delayTimer.next&&r(e).delayTimer.next(),delete r(e).delayTimer)});var j=[];return l.each(x.State.calls,function(A,e){e&&l.each(e[1],function(t,o){var n=h===i?"":h;return n===!0||e[2].queue===n||h===i&&e[2].queue===!1?void l.each(w,function(t,i){i===o&&((h===!0||d.isString(h))&&(l.each(l.queue(i,d.isString(h)?h:""),function(A,e){d.isFunction(e)&&e(null,!0)}),l.queue(i,d.isString(h)?h:"",[])),
"stop"===B?(r(i)&&r(i).tweensContainer&&n!==!1&&l.each(r(i).tweensContainer,function(A,e){e.endValue=e.currentValue}),j.push(A)):"finish"===B&&(e[2].duration=1))}):!0})}),"stop"===B&&(l.each(j,function(A,e){u(e,!0)}),M.promise&&M.resolver(w)),A();default:if(!l.isPlainObject(B)||d.isEmptyObject(B)){if(d.isString(B)&&x.Redirects[B]){var b=l.extend({},h),v=b.duration,R=b.delay||0;return b.backwards===!0&&(w=l.extend(!0,[],w).reverse()),l.each(w,function(A,e){parseFloat(b.stagger)?b.delay=R+parseFloat(b.stagger)*A:d.isFunction(b.stagger)&&(b.delay=R+b.stagger.call(e,A,D)),b.drag&&(b.duration=parseFloat(v)||(/^(callout|transition)/.test(B)?1e3:I),b.duration=Math.max(b.duration*(b.backwards?1-A/D:(A+1)/D),.75*b.duration,200)),x.Redirects[B].call(e,e,b||{},A,D,w,M.promise?M:i)}),A()}var Y="Velocity: First argument ("+B+") was not a property map, a known action, or a registered redirect. Aborting.";return M.promise?M.rejecter(new Error(Y)):console.log(Y),A()}m="start"}var G={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},y=[];l.each(w,function(A,e){d.isNode(e)&&o.call(e)});var z,b=l.extend({},x.defaults,h);if(b.loop=parseInt(b.loop),z=2*b.loop-1,b.loop)for(var F=0;z>F;F++){var V={delay:b.delay,progress:b.progress};F===z-1&&(V.display=b.display,V.visibility=b.visibility,V.complete=b.complete),Q(w,"reverse",V)}return A()}};x=l.extend(D,x),x.animate=D;var O=e.requestAnimationFrame||w;return x.State.isMobile||t.hidden===i||t.addEventListener("visibilitychange",function(){t.hidden?(O=function(A){return setTimeout(function(){A(!0)},16)},g()):O=e.requestAnimationFrame||w}),A.Velocity=x,A!==e&&(A.fn.velocity=D,A.fn.velocity.defaults=x.defaults),l.each(["Down","Up"],function(A,e){x.Redirects["slide"+e]=function(A,t,o,n,r,c){var a=l.extend({},t),s=a.begin,g=a.complete,u={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},E={};a.display===i&&(a.display="Down"===e?"inline"===x.CSS.Values.getDisplayType(A)?"inline-block":"block":"none"),a.begin=function(){s&&s.call(r,r);for(var t in u){E[t]=A.style[t];var i=x.CSS.getPropertyValue(A,t);u[t]="Down"===e?[i,0]:[0,i]}E.overflow=A.style.overflow,A.style.overflow="hidden"},a.complete=function(){for(var e in E)A.style[e]=E[e];g&&g.call(r,r),c&&c.resolver(r)},x(A,u,a)}}),l.each(["In","Out"],function(A,e){x.Redirects["fade"+e]=function(A,t,o,n,r,c){var a=l.extend({},t),s={opacity:"In"===e?1:0},g=a.complete;o!==n-1?a.complete=a.begin=null:a.complete=function(){g&&g.call(r,r),c&&c.resolver(r)},a.display===i&&(a.display="In"===e?"auto":"none"),x(this,s,a)}}),x}(window.jQuery||window.Zepto||window,window,document)})},45:function(A,e,t){"use strict";t(15),A.exports=function(A,e){function t(A,e,t){t||(t=g);var i=document.createElement("canvas");return i.width=A*t,i.height=e*t,i.style.width=A+"px",i.style.height=e+"px",i.getContext("2d").setTransform(t,0,0,t,0,0),i}function i(A){if("number"!=typeof A)return"--:--";var e=Math.floor(A/60),t=parseInt(A%60);return 10>t&&(t="0"+t),e+":"+t}function o(){B.beginPath(),B.fillStyle=m,B.roundRect(0,0,l,E,10),B.closePath(),B.fill()}function n(A,e){B.textAlign="right",B.font="300 12px sans-serif",B.fillStyle="white",B.fillText(i(A)+" / "+i(e),l-10,20)}function r(A){function e(A){B.clearRect(0,-4,l,4),B.clearRect(0,E,l,4),B.strokeStyle="red",B.fillStyle="red",B.beginPath(),B.moveTo(A,-w),B.lineTo(A,E+2*w),B.stroke(),B.beginPath(),B.arc(A,-2,2,0,2*Math.PI),B.arc(A,E+2,2,0,2*Math.PI),B.fill()}n(y?y.currentTime:0,H),B.save();var t=l-O,i=t/2,o=Q.length;B.translate(O,0),B.beginPath(),B.rect(0,0,t,E),B.clip(),B.fillStyle="white",B.fillRect(0,h,t,1);var r=(A-i)/D;r=0>=r?0:Math.floor(r);var c=r+t/D;c=r>=o?o:Math.ceil(c);for(var a=r;c>=a;a++){B.save(),i>=A||(A>i?B.translate(-(A-i),0):B.translate(-(f-t),0));var s=Q[a];a<Math.floor(A/D)?(B.fillStyle="white",B.fillRect(a*D,h,p,Math.round(-s*x)),B.fillStyle=j,B.fillRect(a*D,h,p,Math.round(s*x*.618))):a===Math.floor(A/D)?(B.fillStyle="white",B.fillRect(a*D,h,A%D,Math.round(-s*x)),B.fillStyle=j,B.fillRect(a*D,h,A%D,Math.round(s*x*.618)),B.fillStyle="rgba(255,255,255,0.6)",B.fillRect(A,h,p-A%D,Math.round(-s*x)),B.fillStyle=b,B.fillRect(A,h,p-A%D,Math.round(s*x*.618))):(B.fillStyle="rgba(255,255,255,0.6)",B.fillRect(a*D,h,p,Math.round(-s*x)),B.fillStyle=b,B.fillRect(a*D,h,p,Math.round(s*x*.618))),B.restore()}B.restore(),i>=A?e(A+O):A>i&&e(i+O)}function c(A){M=A;var e=A*f;Y=e,B.save(),B.clearRect(O-1,-w,l-O+1,d.height),B.beginPath(),B.rect(O-1,0,l-O+1,E),B.clip(),o(),B.restore(),A>1&&(A=1),r(e)}function a(){function A(){c(y.currentTime/H),G=window.requestAnimationFrame(A)}G=window.requestAnimationFrame(A)}function s(){window.cancelAnimationFrame(G)}var g=function(){var A=document.createElement("canvas").getContext("2d"),e=window.devicePixelRatio||1,t=A.webkitBackingStorePixelRatio||A.mozBackingStorePixelRatio||A.msBackingStorePixelRatio||A.oBackingStorePixelRatio||A.backingStorePixelRatio||1;return e/t}();CanvasRenderingContext2D.prototype.roundRect=function(A,e,t,i,o){return 2*o>t&&(o=t/2),2*o>i&&(o=i/2),this.moveTo(A+o,e),this.arcTo(A+t,e,A+t,e+i,o),this.arcTo(A+t,e+i,A,e+i,o),this.arcTo(A,e+i,A,e,o),this.arcTo(A,e,A+t,e,o),this};var u=A.appendChild(document.createElement("div"));u.style.position="relative";var l=A.offsetWidth,E=A.offsetHeight,w=4,d=t(l,E+2*w);u.appendChild(d);var B=d.getContext("2d"),I=/Android/g.test(navigator.userAgent),h=Math.round(.618*E),x=.618*h,p=3,C=1,D=p+C,O=64,Q=e.waveform,f=Q.length*D,H=e.duration,M=0,m=B.createLinearGradient(0,0,0,E);m.addColorStop(0,"#fac03c"),m.addColorStop(1,"#faa532");var j=B.createLinearGradient(0,h,0,E);j.addColorStop(0,"rgba(255,255,255,0.5)"),j.addColorStop(1,"rgba(255,255,255,0)");var b=B.createLinearGradient(0,h,0,E);b.addColorStop(0,"rgba(255,255,255,0.3)"),b.addColorStop(1,"rgba(255,255,255,0)"),Q=function(A){function e(A){return Math.max.apply(null,A)}var t=e(A),i=A.map(function(A){return A/t});return i}(Q);var v=document.createElement("div");v.style.position="absolute",v.style.width="36px",v.style.height="36px",v.style.left=(O-36)/2+"px",v.style.top=h-18+w+"px",v.addEventListener(clickOrTap||"click",function(){y.paused?y.play():y.pause()}),u.appendChild(v),B.translate(0,w),o();var R=function(){var A=32,e=(O-A)/2,t=function(){B.clearRect(e,h-A/2,A,A),B.fillStyle=m,B.fillRect(e,h-A/2,A,A)};return{play:function(){t(),B.fillStyle="white",B.beginPath(),B.arc(O/2,h,A/2,0,2*Math.PI);var i=13,o=e+12,n=h-i/2,r=1;B.moveTo(o,n+i-r),B.arcTo(o,n+i,o+Math.sqrt(3)*i/2,n+i/2,r),B.arcTo(o+Math.sqrt(3)*i/2,n+i/2,o,n,r),B.arcTo(o,n,o,n+i,r),B.closePath(),B.fill()},pause:function(){t(),B.fillStyle="white",B.beginPath(),B.arc(O/2,h,A/2,0,2*Math.PI,!0);var i=10,o=e+11.5,n=h-i/2;B.roundRect(o,n,3.5,i,1),B.roundRect(o+6,n,3.5,i,1),B.closePath(),B.fill()}}}();R.play(),r(0);var Y,G=null,y=document.createElement("audio");y.src=e.src,y.addEventListener("play",function(){a(),R.pause()}),y.addEventListener("pause",function(){s(),R.play()}),y.addEventListener("ended",function(){s(),y.currentTime=0,c(0),R.play()}),I&&setTimeout(function(){c(0)},300)}}});</script>
    <script>
      if(typeof(same) != 'undefined'){
      	same.on('onShare', function(data){
      		// ios 分享成功会连续掉好多次
      		if(!window.lastShareSuccessTime || new Date().getTime() - window.lastShareSuccessTime > 1000){
      			window.lastShareSuccessTime = new Date().getTime();
      			log('分享成功', data && data.type || '');
      		}
      	});
      	if(window.isTemplate){
      		// 模板会自己处理closeButton
      	}else{
      		same.ready(function(){
      			if(window.sameHasCloseButton){
      				$(".skip,#close").hide();
      				same.configSplashCloseButton();
      			}else{
      				$(".skip,#close").show();
      			}
      		})
      	}
      }
      // 下面这段 analytics 请一定放最后！不要轻易动他。
    </script><script>if (!String.prototype.startsWith) {
	String.prototype.startsWith = function(searchString, position) {
		position = position || 0;
		return this.indexOf(searchString, position) === position;
	}
}
window.iAmLogger = location.href.toLowerCase().indexOf("splash.logger.html") > -1;
if(window.iAmLogger){
	window.loggerName = decodeURIComponent((location.href.match(/\Wpage=([^&]*)/i) || ['',''])[1]);
}else{
	if(!window.loggerName){
		// 取 path 的最后一段 
		window.loggerName = location.href.replace(/\?.*/,'').replace(/^.*\/([^\/]+)\/*$/, '$1').replace(/(^poster\.|^splash\.|\.html)/ig, '');
	}
	window.loggerURL = "https://resource.ohsame.com/splashes/splash.logger.html?no-same-header&fail-is-ok&page=" + encodeURIComponent(window.loggerName);
}
function sameAnalyticDeviceID(){
	return typeof(sameDeviceIDRaw) == 'undefined' ? '0' : sameDeviceIDRaw.hashCode()+'';
}
function sameAnalyticDeviceIDDescription(){
	return typeof(sameDeviceIDRaw) == 'undefined' ? '' : sameDeviceIDRaw;
}
function loggerEnabled(){
	return !/(iPad|iPhone|iPod)/g.test( navigator.userAgent ) || window.sameVersion >= 297;
}
function logEventToAnalytic(args){

	// TODO 这里其实是获取不到 sameRequestHeaders 的，因为不在一个 window 里
	var headers = window.sameRequestHeaders || {};
	headers['AnalyticAPIVersion'] = '1';
	headers['AnalyticDeviceId'] = sameAnalyticDeviceID();
	//headers['AnalyticDeviceIdDescription'] = sameAnalyticDeviceIDDescription();

	var params = {
		type: decodeURIComponent(args[1]),
		name: decodeURIComponent(args[2]),
		device_id: sameAnalyticDeviceID(),
		api_version: '1',
		t: new Date().getTime()
	};
	if(args[3]) params.value = decodeURIComponent(args[3]);
	if(args[4]) params.scalar = decodeURIComponent(args[4]);
	
	var queryArray = [];
	for(var k in params)
		queryArray.push(encodeURIComponent(k) + '=' + encodeURIComponent(params[k]));

	var img = document.createElement('img');
	img.setAttribute('src', 'http://analytics.ohsame.com/event?' + queryArray.join('&'));
	img.setAttribute('style', 'position: absolute; width: 0px; height: 0px; top: -2000px; left: -2000px');
	document.getElementsByTagName('body')[0].appendChild(img);
}
function pushEvent(args){
	if(decodeURIComponent(args[2]) == '事件' || decodeURIComponent(args[2]) == '跳转'){
		args[2] = args[3];
		args[3] = '';
	}
	
	if(window.iAmLogger || !location.href.startsWith("file")){
		logEventToAnalytic(args);
		return;
	}
	if(!location.href.startsWith("file")){
		// 我是其他远程文件
		// 同时用 logger 和 cnzz 记录
		logEventToAnalytic(args);
	}
	if(!window._czc || !window._czc.push){
		// 用 iframe 传递到 logger
		if(loggerEnabled()){
			var iframe = document.getElementsByTagName("iframe")[0];
			if(iframe && iframe.contentWindow){
				var newLocation = window.loggerURL + "#push:" + JSON.stringify({
					"i": new Date().getTime(),
					"args": args
				});
				

				iframe.contentWindow.location = newLocation;
			}
		}
	}else{
		if(!args[3])
			args[3] = '';
		if(!args[4])
			args[4] = 0;
		window._czc.push.apply(window._czc, [args]);
	}
}
// 老的 log 接口
function logEvent(category, action, str, n){
	try{
		pushEvent(['_trackEvent', category, action, str, n]);
	}catch(error){

	}
}
function logNumberEvent(category, action, n, str){

	try{
		pushEvent(['_trackEvent', category, action, str, n]);
	}catch(error){
		
	}
}

// 新的 log 接口
function getLogCategory(){
	if(window.iAmLogger || location.href.startsWith("file"))
		return '首屏-' + window.loggerName;
	if(/\/share\/channel/.test(location.pathname))
		return '分享频道-' + window.loggerName;
	if(/\/share\/sense/.test(location.pathname))
		return '分享帖子-' + window.loggerName;
	if(/\/share\/punch.*\/song/.test(location.pathname))
		return '分享打卡歌-' + window.loggerName;
	if(/\/share\/punch/.test(location.pathname))
		return '分享打卡-' + window.loggerName;
	if(/\/share\/music/.test(location.pathname))
		return '分享音乐-' + window.loggerName;
	if(/\/posters/i.test(location.pathname))
		return '页面-' + window.loggerName;
	return '网页-' + window.loggerName;
}
function log(action, str, n){
	try{
		logEvent(getLogCategory(), action, str, n);
	}catch(error){
	}
}
function logNumber(action, n, str){

	try{
		logNumberEvent(getLogCategory(), action, n, str);
	}catch(error){
	}
}
if(window.iAmLogger){
	// 我是那个logger文件
	window.onhashchange = function () {
		var hash = window.location.hash;
		if(hash.startsWith("#push:")) {
			var json = JSON.parse(hash.substring("#push:".length));
			pushEvent(json.args);
		}
	}
	log('展示', window.loggerInitValue, window.loggerInitScalar);
}else if(location.href.startsWith("file")){
	// 我是本地文件
	var loaded = function(){
		// ios 客户端 297 之前 在 webview 里使用 iframe 会挂
		setTimeout(function(){
			if(loggerEnabled()){
				var iDiv = document.createElement('div');
				iDiv.innerHTML = '<iframe style="position: absolute; z-index: -999; left: -999px; top: -999px" src="' + window.loggerURL + '"></iframe>';
				document.getElementsByTagName('body')[0].appendChild(iDiv);
			
			}
		}, 300);
	};
	if(typeof(same) != 'undefined' && same.ready && /SameApp/i.test(navigator.userAgent)){
		same.ready(loaded);
	}else{
		setTimeout(loaded, 300);
	}
}else{
	// 我是一般的远程文件
	window.trackURL = 'https://s95.cnzz.com/z_stat.php?id=1254595132&web_id=1254595132';
	setTimeout(function(){
		var s = document.createElement('script');
      	s.type = 'text/javascript';
      	s.async = true;
      	s.src = window.trackURL;
      	document.getElementsByTagName('body')[0].appendChild(s);
	}, 300);
	
	
	if(sameAnalyticDeviceIDDescription())
		log('展示', window.loggerInitValue, window.loggerInitScalar);
	else{

		var s = document.createElement('script');
		s.type = 'text/javascript';
		s.async = true;

		s.src = "https://analytics.ohsame.com/js/device_id_calculator_with_ua_parser.js"
		s.onload = function(){
			log('展示', window.loggerInitValue, window.loggerInitScalar);
		};
      	document.getElementsByTagName('body')[0].appendChild(s);
	}
}</script>
  </body>
</html>